/trunk/main/svl/inc/svl/ |
H A D | ondemand.hxx | 60 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMgr; 109 xSMgr = rxSMgr; in init() 172 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMgr; 207 xSMgr = rxSMgr; in init() 228 pPtr = new CalendarWrapper( xSMgr ); in get() 246 ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMgr; 281 xSMgr = rxSMgr; in init() 302 pPtr = new CollatorWrapper( xSMgr ); in get() 359 xSMgr = rxSMgr; in init() 438 xSMgr = rxSMgr; in init() [all …]
|
/trunk/main/cpputools/source/registercomponent/ |
H A D | registercomponent.cxx | 646 Reference< XMultiServiceFactory > &xSMgr, in bootstrap() 660 xSMgr = createRegistryServiceFactory( in bootstrap() 667 xSMgr = createRegistryServiceFactory( in bootstrap() 675 xSMgr = createRegistryServiceFactory( in bootstrap() 688 xSMgr = createServiceFactory(); in bootstrap() 691 xSMgr->createInstance( in bootstrap() 728 xSMgr, in bootstrap() 734 xSMgr, in bootstrap() 775 Reference< XMultiServiceFactory > xSMgr; in SAL_IMPLEMENT_MAIN_WITH_ARGS() local 779 bootstrap( aOptions, xSMgr ,xReg ); in SAL_IMPLEMENT_MAIN_WITH_ARGS() [all …]
|
/trunk/main/extensions/test/stm/ |
H A D | testfactreg.cxx | 95 XMultiServiceFactoryRef xSMgr; in UNO_INTERFACE() local 98 uno2smart(xSMgr, *xUnoFact); in UNO_INTERFACE() 102 xRet = createSingleFactory( xSMgr, implementationName, in UNO_INTERFACE() 107 xRet = createSingleFactory( xSMgr , implementationName, in UNO_INTERFACE() 112 xRet = createSingleFactory( xSMgr , implementationName, in UNO_INTERFACE() 117 xRet = createSingleFactory( xSMgr , implementationName, in UNO_INTERFACE() 122 xRet = createSingleFactory( xSMgr , implementationName, in UNO_INTERFACE() 127 xRet = createSingleFactory( xSMgr , implementationName, in UNO_INTERFACE() 132 xRet = createSingleFactory( xSMgr , implementationName, in UNO_INTERFACE() 137 xRet = createSingleFactory( xSMgr , implementationName, in UNO_INTERFACE()
|
/trunk/main/io/test/stm/ |
H A D | testfactreg.cxx | 134 Reference< XMultiServiceFactory > xSMgr = in component_getFactory() local 141 xRet = createSingleFactory( xSMgr, aImplementationName, in component_getFactory() 147 xRet = createSingleFactory( xSMgr, aImplementationName, in component_getFactory() 153 xRet = createSingleFactory( xSMgr , aImplementationName, in component_getFactory() 158 xRet = createSingleFactory( xSMgr , aImplementationName, in component_getFactory() 163 xRet = createSingleFactory( xSMgr , aImplementationName, in component_getFactory() 168 xRet = createSingleFactory( xSMgr , aImplementationName, in component_getFactory() 173 xRet = createSingleFactory( xSMgr , aImplementationName, in component_getFactory() 178 xRet = createSingleFactory( xSMgr , aImplementationName, in component_getFactory() 183 xRet = createSingleFactory( xSMgr , aImplementationName, in component_getFactory()
|
/trunk/main/extensions/source/ole/ |
H A D | servreg.cxx | 42 …terface> SAL_CALL ConverterProvider_CreateInstance2( const Reference<XMultiServiceFactory> & xSMgr) in ConverterProvider_CreateInstance2() argument 45 Reference<XInterface> xService = *new OleConverter_Impl2( xSMgr); in ConverterProvider_CreateInstance2() 49 …face> SAL_CALL ConverterProvider_CreateInstanceVar1( const Reference<XMultiServiceFactory> & xSMgr) in ConverterProvider_CreateInstanceVar1() argument 52 …Reference<XInterface> xService = *new OleConverter_Impl2( xSMgr, UNO_OBJECT_WRAPPER_REMOTE_OPT, IU… in ConverterProvider_CreateInstanceVar1() 56 …rence<XInterface> SAL_CALL OleClient_CreateInstance( const Reference<XMultiServiceFactory> & xSMgr) in OleClient_CreateInstance() argument 59 Reference<XInterface> xService = *new OleClient_Impl( xSMgr); in OleClient_CreateInstance() 63 …rence<XInterface> SAL_CALL OleServer_CreateInstance( const Reference<XMultiServiceFactory> & xSMgr) in OleServer_CreateInstance() argument 66 Reference<XInterface > xService = *new OleServer_Impl(xSMgr); in OleServer_CreateInstance()
|
H A D | servprov.hxx | 42 …nterface> SAL_CALL ConverterProvider_CreateInstance( const Reference<XMultiServiceFactory> & xSMgr) 44 …terface> SAL_CALL ConverterProvider_CreateInstance2( const Reference<XMultiServiceFactory> & xSMgr) 46 …face> SAL_CALL ConverterProvider_CreateInstanceVar1( const Reference<XMultiServiceFactory> & xSMgr) 48 …rence<XInterface> SAL_CALL OleClient_CreateInstance( const Reference<XMultiServiceFactory> & xSMgr) 50 …rence<XInterface> SAL_CALL OleServer_CreateInstance( const Reference<XMultiServiceFactory> & xSMgr)
|
/trunk/main/stoc/test/ |
H A D | testsmgr_cpnt.cxx | 210 Reference <XMultiServiceFactory> xSMgr = getProcessServiceManager(); in test_ServiceManager() local 212 TEST_ENSHURE( xSMgr.is() , "query on XServiceManager failed" ); in test_ServiceManager() 214 Reference<XContentEnumerationAccess> xContEnum(xSMgr, UNO_QUERY); in test_ServiceManager() 226 Reference<XEnumerationAccess> xImplEnum(xSMgr, UNO_QUERY); in test_ServiceManager() 241 …TEST_ENSHURE( !xSMgr->createInstance(OUString::createFromAscii("bla.blup.Q")).is(), "unknown servi… in test_ServiceManager() 248 …xInst( xSMgr->createInstance(OUString::createFromAscii("com.sun.star.registry.ImplementationRegist… in test_ServiceManager() 267 …Reference< XInterface > xIFace(xSMgr->createInstance(OUString::createFromAscii("com.sun.star.ts.Te… in test_ServiceManager() 398 Reference<XComponent> xComp(xSMgr, UNO_QUERY); in test_ServiceManager() 402 xSMgr.clear(); in test_ServiceManager()
|
/trunk/main/extensions/workben/ |
H A D | testcomponent.cxx | 74 XMultiServiceFactoryRef xSMgr = createRegistryServiceManager(); in main() local 75 OSL_ASSERT( xSMgr.is() ); in main() 76 registerUsrServices( xSMgr ); in main() 77 setProcessServiceManager( xSMgr ); in main() 84 XInterfaceRef x = xSMgr->createInstance( in main() 145 XInterfaceRef xIntTest = xSMgr->createInstance( OStringToOWString( sTestName , CHARSET_SYSTEM ) ); in main() 163 XInterfaceRef x = xSMgr->createInstance( OStringToOWString( argv[1] , CHARSET_SYSTEM ) ); in main() 215 XComponentRef rComp( xSMgr , USR_QUERY ); in main()
|
H A D | testresource.cxx | 52 XMultiServiceFactoryRef xSMgr = createRegistryServiceManager(); in Main() local 53 registerUsrServices( xSMgr ); in Main() 54 setProcessServiceManager( xSMgr ); in Main() 56 XInterfaceRef x = xSMgr->createInstance( L"com.sun.star.registry.ImplementationRegistration" ); in Main() 63 x = xSMgr->createInstance( L"com.sun.star.resource.VclStringResourceLoader" ); in Main()
|
/trunk/main/javaunohelper/test/com/sun/star/comp/helper/ |
H A D | ComponentContext_Test.java | 48 XMultiComponentFactory xSMgr = xContext.getServiceManager(); in main() local 49 Object o = xSMgr.createInstanceWithContext( "com.sun.star.loader.Java", xContext ); in main() 52 o = xSMgr.createInstanceWithContext( "com.sun.star.bridge.BridgeFactory", xContext ); in main() 55 o = xSMgr.createInstanceWithContext( "com.sun.star.bridge.UnoUrlResolver", xContext ); in main() 58 o = xSMgr.createInstanceWithContext( "com.sun.star.connection.Connector", xContext ); in main() 61 o = xSMgr.createInstanceWithContext( "com.sun.star.connection.Acceptor", xContext ); in main() 64 o = xSMgr.createInstanceWithContext( "com.sun.star.lang.ServiceManager", xContext ); in main()
|
/trunk/main/ucb/source/core/ |
H A D | ucbserv.cxx | 51 Reference< XMultiServiceFactory > xSMgr( in component_getFactory() local 62 xFactory = UniversalContentBroker::createServiceFactory( xSMgr ); in component_getFactory() 72 xFactory = UcbStore::createServiceFactory( xSMgr ); in component_getFactory() 82 xFactory = UcbPropertiesManager::createServiceFactory( xSMgr ); in component_getFactory() 93 = UcbContentProviderProxyFactory::createServiceFactory( xSMgr ); in component_getFactory() 104 = ucb_cmdenv::UcbCommandEnvironment::createServiceFactory( xSMgr ); in component_getFactory()
|
/trunk/main/unotools/source/i18n/ |
H A D | intlwrapper.cxx | 36 xSMgr( xSF ), in IntlWrapper() 51 xSMgr( xSF ), in IntlWrapper() 75 ((IntlWrapper*)this)->pCharClass = new CharClass( xSMgr, aLocale ); in ImplNewCharClass() 81 ((IntlWrapper*)this)->pLocaleData = new LocaleDataWrapper( xSMgr, aLocale ); in ImplNewLocaleData() 87 CalendarWrapper* p = new CalendarWrapper( xSMgr ); in ImplNewCalendar() 95 CollatorWrapper* p = new CollatorWrapper( xSMgr ); in ImplNewCollator()
|
/trunk/main/xmlscript/source/xmldlg_imexp/ |
H A D | xmldlg_addfunc.cxx | 72 Reference< lang::XMultiComponentFactory > xSMgr( xContext->getServiceManager() ); in exportDialogModel() local 73 if (! xSMgr.is()) in exportDialogModel() 80 Reference< xml::sax::XExtendedDocumentHandler > xHandler( xSMgr->createInstanceWithContext( in exportDialogModel() 106 Reference< lang::XMultiComponentFactory > xSMgr( xContext->getServiceManager() ); in importDialogModel() local 107 if (! xSMgr.is()) in importDialogModel() 114 Reference< xml::sax::XParser > xParser( xSMgr->createInstanceWithContext( in importDialogModel()
|
/trunk/main/stoc/test/excomp/ |
H A D | excomp.cxx | 86 Reference< XMultiServiceFactory > xSMgr = ::cppu::createRegistryServiceFactory( excompRdb ); in SAL_IMPLEMENT_MAIN() local 87 TEST_ENSHURE( xSMgr.is(), "excomp error 0" ); in SAL_IMPLEMENT_MAIN() 94 …Reference< XInterface > xIFace = xSMgr->createInstance(OUString::createFromAscii("com.sun.star.reg… in SAL_IMPLEMENT_MAIN() 111 …Reference< XTest > xTest1( xSMgr->createInstance(OUString::createFromAscii("example.ExampleCompone… in SAL_IMPLEMENT_MAIN() 114 …Reference< XTest > xTest2( xSMgr->createInstance(OUString::createFromAscii("example.ExampleCompone… in SAL_IMPLEMENT_MAIN() 127 Reference< XComponent >( xSMgr, UNO_QUERY )->dispose(); in SAL_IMPLEMENT_MAIN()
|
/trunk/main/scripting/source/dlgprov/ |
H A D | dlgprov.cxx | 291 Reference< XMultiComponentFactory > xSMgr( m_xContext->getServiceManager(), UNO_QUERY ); in createDialogModel() local 293 if ( !xSMgr.is() ) in createDialogModel() 301 xSMgr->createInstanceWithContext( rtl::OUString::createFromAscii( in createDialogModel() 348 Reference< ucb::XSimpleFileAccess >( xSMgr->createInstanceWithContext in createDialogModel() 507 Reference< XMultiComponentFactory > xSMgr( m_xContext->getServiceManager() ); in createDialogControl() local 509 if ( xSMgr.is() ) in createDialogControl() 511 xDialogControl = Reference< XControl >( xSMgr->createInstanceWithContext( in createDialogControl() 543 Reference< XToolkit> xToolkit( xSMgr->createInstanceWithContext( in createDialogControl() 602 Reference< XMultiComponentFactory > xSMgr( m_xContext->getServiceManager(), UNO_QUERY ); in inspectHandler() local 603 if ( !xSMgr.is() ) in inspectHandler() [all …]
|
H A D | dlgevtatt.cxx | 114 Reference< XMultiComponentFactory > xSMgr( m_xContext->getServiceManager() ); in DialogVBAScriptListenerImpl() local 116 if ( xSMgr.is() ) in DialogVBAScriptListenerImpl() 119 …mxListener = Reference< XScriptListener >( xSMgr->createInstanceWithArgumentsAndContext( ::rtl::OU… in DialogVBAScriptListenerImpl() 207 Reference< XMultiComponentFactory > xSMgr( m_xContext->getServiceManager() ); in getFakeVbaEventsSupplier() local 208 if ( xSMgr.is() ) in getFakeVbaEventsSupplier() 210 …Reference< ooo::vba::XVBAToOOEventDescGen > xVBAToOOEvtDesc( xSMgr->createInstanceWithContext( ::r… in getFakeVbaEventsSupplier() 297 Reference< XMultiComponentFactory > xSMgr( m_xContext->getServiceManager() ); in attachEvents() local 298 if ( xSMgr.is() ) in attachEvents() 300 … m_xEventAttacher = Reference< XEventAttacher >( xSMgr->createInstanceWithContext( in attachEvents()
|
/trunk/main/ucb/source/cacher/ |
H A D | cacheserv.cxx | 52 Reference< XMultiServiceFactory > xSMgr( in component_getFactory() local 63 xFactory = CachedContentResultSetFactory::createServiceFactory( xSMgr ); in component_getFactory() 73 xFactory = CachedContentResultSetStubFactory::createServiceFactory( xSMgr ); in component_getFactory() 83 xFactory = CachedDynamicResultSetFactory::createServiceFactory( xSMgr ); in component_getFactory() 93 xFactory = CachedDynamicResultSetStubFactory::createServiceFactory( xSMgr ); in component_getFactory()
|
/trunk/main/package/source/package/manifest/ |
H A D | UnoRegister.cxx | 66 uno::Reference< XMultiServiceFactory > xSMgr( in component_getFactory() local 71 xFactory = ManifestReader::createServiceFactory ( xSMgr ); in component_getFactory() 73 xFactory = ManifestWriter::createServiceFactory ( xSMgr ); in component_getFactory() 75 xFactory = ZipPackage::createServiceFactory ( xSMgr ); in component_getFactory() 77 xFactory = ::cppu::createSingleFactory( xSMgr, in component_getFactory()
|
/trunk/main/vbahelper/source/vbahelper/ |
H A D | vbadocumentsbase.cxx | 86 uno::Reference< lang::XMultiComponentFactory > xSMgr( in DocumentsEnumImpl() local 90 …(xSMgr->createInstanceWithContext(::rtl::OUString::createFromAscii("com.sun.star.frame.Desktop"), … in DocumentsEnumImpl() 249 uno::Reference< lang::XMultiComponentFactory > xSMgr( in createDocument() local 253 xSMgr->createInstanceWithContext( in createDocument() 311 uno::Reference< lang::XMultiComponentFactory > xSMgr( in openDocument() local 314 …(xSMgr->createInstanceWithContext(::rtl::OUString::createFromAscii("com.sun.star.frame.Desktop") … in openDocument() 317 xSMgr->createInstanceWithContext( in openDocument()
|
/trunk/main/io/test/ |
H A D | testcomponent.cxx | 61 Reference< XMultiServiceFactory > xSMgr = createRegistryServiceFactory( in main() local 70 Reference < XInterface > x = xSMgr->createInstance( in main() 131 xSMgr->createInstance( OStringToOUString( sTestName , RTL_TEXTENCODING_ASCII_US ) ); in main() 150 xSMgr->createInstance( OStringToOUString( argv[1] , RTL_TEXTENCODING_ASCII_US ) ); in main() 210 Reference <XComponent > rComp( xSMgr , UNO_QUERY ); in main()
|
/trunk/main/basic/source/runtime/ |
H A D | iosys.cxx | 248 Reference< XMultiServiceFactory > xSMgr = getProcessServiceFactory(); in needSecurityRestrictions() local 249 if( !xSMgr.is() ) in needSecurityRestrictions() 251 Reference< XBridgeFactory > xBridgeFac( xSMgr->createInstance in needSecurityRestrictions() 315 Reference< XMultiServiceFactory > xSMgr = getProcessServiceFactory(); in hasUno() local 316 if( !xSMgr.is() ) in hasUno() 323 …Reference< XContentProviderManager > xManager( xSMgr->createInstance( ::rtl::OUString::createFromA… in hasUno() 658 Reference< XMultiServiceFactory > xSMgr = getProcessServiceFactory(); in Open() local 659 if( xSMgr.is() ) in Open() 662 …xSFI( xSMgr->createInstance( ::rtl::OUString::createFromAscii( "com.sun.star.ucb.SimpleFileAccess"… in Open()
|
/trunk/main/sax/test/ |
H A D | testcomponent.cxx | 68 Reference< XMultiServiceFactory > xSMgr = in main() local 77 Reference < XInterface > x = xSMgr->createInstance( in main() 145 xSMgr->createInstance( OStringToOUString( sTestName , RTL_TEXTENCODING_ASCII_US ) ); in main() 164 xSMgr->createInstance( OStringToOUString( argv[1] , RTL_TEXTENCODING_ASCII_US ) ); in main() 223 Reference <XComponent > rComp( xSMgr , UNO_QUERY ); in main()
|
/trunk/main/extensions/test/sax/ |
H A D | testsax.cxx | 297 …treamRef createStreamFromSequence( const Sequence<BYTE> seqBytes , XMultiServiceFactoryRef &xSMgr ) in createStreamFromSequence() argument 299 XInterfaceRef xOutStreamService = xSMgr->createInstance( L"com.sun.star.io.Pipe" ); in createStreamFromSequence() 314 XInputStreamRef createStreamFromFile( const char *pcFile , XMultiServiceFactoryRef &xSMgr ) in createStreamFromFile() argument 327 r = createStreamFromSequence( seqIn , xSMgr ); in createStreamFromFile() 880 XMultiServiceFactoryRef xSMgr; in UNO_INTERFACE() local 883 uno2smart(xSMgr, *xUnoFact); in UNO_INTERFACE() 887 xRet = createSingleFactory( xSMgr, implementationName, in UNO_INTERFACE() 893 xRet = createSingleFactory( xSMgr, implementationName, in UNO_INTERFACE()
|
/trunk/main/javaunohelper/com/sun/star/comp/helper/ |
H A D | Bootstrap.java | 114 XMultiComponentFactory xSMgr = UnoRuntime.queryInterface( in createInitialComponentContext() local 120 Object[] args = new Object [] { xSMgr }; in createInitialComponentContext() 129 new ComponentContextEntry( null, xSMgr ) ); in createInitialComponentContext() 135 XInitialization.class, xSMgr ); in createInitialComponentContext() 139 XSet xSet = UnoRuntime.queryInterface( XSet.class, xSMgr ); in createInitialComponentContext()
|
/trunk/main/comphelper/source/processfactory/ |
H A D | processfactory.cxx | 45 …rviceFactory > localProcessFactory( const Reference< XMultiServiceFactory >& xSMgr, sal_Bool bSet ) in localProcessFactory() argument 52 xProcessFactory = xSMgr; in localProcessFactory() 59 void setProcessServiceFactory(const Reference< XMultiServiceFactory >& xSMgr) in setProcessServiceFactory() argument 61 localProcessFactory( xSMgr, sal_True ); in setProcessServiceFactory()
|