registration.hxx (f8e07b45) registration.hxx (d975be8c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 88 unchanged lines hidden (view full) ---

97 void* pReturn = NULL ; \
98 if ( \
99 ( pImplementationName != NULL ) && \
100 ( pServiceManager != NULL ) \
101 ) \
102 { \
103 LOG_REGISTRATION_GETFACTORY( "\t\tpImplementationName and pServiceManager are valid ...\n" ) \
104 /* Define variables which are used in following macros. */ \
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 88 unchanged lines hidden (view full) ---

97 void* pReturn = NULL ; \
98 if ( \
99 ( pImplementationName != NULL ) && \
100 ( pServiceManager != NULL ) \
101 ) \
102 { \
103 LOG_REGISTRATION_GETFACTORY( "\t\tpImplementationName and pServiceManager are valid ...\n" ) \
104 /* Define variables which are used in following macros. */ \
105 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleServiceFactory > xFactory ; \
105 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xFactory ; \
106 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceManager ; \
107 xServiceManager = reinterpret_cast< ::com::sun::star::lang::XMultiServiceFactory* >( pServiceManager ) ; \
108 /* These parameter will expand to */ \
109 /* "IF_NAME_CREATECOMPONENTFACTORY(a) */ \
110 /* else */ \
111 /* ... */ \
112 /* else */ \
113 /* IF_NAME_CREATECOMPONENTFACTORY(z)" */ \

--- 17 unchanged lines hidden ---
106 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceManager ; \
107 xServiceManager = reinterpret_cast< ::com::sun::star::lang::XMultiServiceFactory* >( pServiceManager ) ; \
108 /* These parameter will expand to */ \
109 /* "IF_NAME_CREATECOMPONENTFACTORY(a) */ \
110 /* else */ \
111 /* ... */ \
112 /* else */ \
113 /* IF_NAME_CREATECOMPONENTFACTORY(z)" */ \

--- 17 unchanged lines hidden ---