Home
last modified time | relevance | path

Searched refs:xMgr (Results 1 – 25 of 98) sorted by relevance

1234

/trunk/main/stoc/test/
H A Dtestintrosp.cxx104 xRefl = Reference< XIdlReflection >( xMgr->createInstance( in TypeToIdlClass()
227 Reference< XIdlClass > xIdlClass = TypeToIdlClass( aValType, xMgr ); in AnyToString()
281 ImplPropertySetInfo( const Reference< XMultiServiceFactory > & xMgr ) in ImplPropertySetInfo() argument
282 : mxMgr( xMgr ) {} in ImplPropertySetInfo()
451 ImplIntroTest( const Reference< XMultiServiceFactory > & xMgr ) in ImplIntroTest() argument
452 : mxMgr( xMgr ) in ImplIntroTest()
949 Reference< XIntroTest > xTestObj = new ImplIntroTest( xMgr ); in getIntrospectionTestObject()
1146 Any aObjAny = getIntrospectionTestObject( xMgr ); in test_introsp()
1367 OUString aStr = AnyToString( aPropVal, sal_False, xMgr ); in test_introsp()
1578 bSucc = test_introsp( xMgr, xRefl, xIntrosp ); in SAL_IMPLEMENT_MAIN()
[all …]
H A Dtestconv.cxx619 static void test_Conversion( const Reference< XMultiServiceFactory > & xMgr ) in test_Conversion() argument
623 Reference< XTypeConverter > xConverter( xMgr->createInstance( in test_Conversion()
656 …aRet = xConverter->convertTo( Any( &xMgr, ::getCppuType( (const Reference< XMultiServiceFactory > … in test_Conversion()
674 …Reference< XMultiServiceFactory > xMgr( createRegistryServiceFactory( OUString::createFromAscii("s… in SAL_IMPLEMENT_MAIN() local
679xMgr->createInstance( OUString::createFromAscii("com.sun.star.registry.ImplementationRegistration"… in SAL_IMPLEMENT_MAIN()
688 test_Conversion( xMgr ); in SAL_IMPLEMENT_MAIN()
699 Reference< XComponent >( xMgr, UNO_QUERY )->dispose(); in SAL_IMPLEMENT_MAIN()
H A Dtestiadapter.cxx947 static sal_Bool test_adapter( const Reference< XMultiServiceFactory > & xMgr ) in test_adapter() argument
950xMgr->createInstance( OUString::createFromAscii("com.sun.star.script.InvocationAdapterFactory") ),… in test_adapter()
954 Reference< XInvocation > xInvok( new XLB_Invocation( xMgr, xOriginal ) ); in test_adapter()
992 static sal_Bool test_invocation( const Reference< XMultiServiceFactory > & xMgr ) in test_invocation() argument
995xMgr->createInstance( OUString::createFromAscii("com.sun.star.script.InvocationAdapterFactory") ),… in test_invocation()
997 xMgr->createInstance( OUString::createFromAscii("com.sun.star.script.Invocation") ), UNO_QUERY ); in test_invocation()
1012 Reference< XMultiServiceFactory > xMgr( createRegistryServiceFactory( in SAL_IMPLEMENT_MAIN() local
1018 xMgr->createInstance( in SAL_IMPLEMENT_MAIN()
1046 if (test_adapter( xMgr )) in SAL_IMPLEMENT_MAIN()
1049 if (test_invocation( xMgr )) in SAL_IMPLEMENT_MAIN()
[all …]
/trunk/main/vcl/source/components/
H A Dfactory.cxx95 Reference< ::com::sun::star::lang::XMultiServiceFactory > xMgr( in component_getFactory() local
102 xMgr, vcl_session_getImplementationName(), vcl_session_createInstance, in component_getFactory()
108 xMgr, vcl::DisplayAccess_getImplementationName(), vcl::DisplayAccess_createInstance, in component_getFactory()
114 xMgr, vcl::FontIdentificator_getImplementationName(), vcl::FontIdentificator_createInstance, in component_getFactory()
120 xMgr, vcl::StringMirror_getImplementationName(), vcl::StringMirror_createInstance, in component_getFactory()
125 xFactory = vcl::Clipboard_createFactory( xMgr ); in component_getFactory()
130 xMgr, vcl::DragSource_getImplementationName(), vcl::DragSource_createInstance, in component_getFactory()
136 xMgr, vcl::DropTarget_getImplementationName(), vcl::DropTarget_createInstance, in component_getFactory()
/trunk/main/io/test/
H A Dtestconnection.cxx183 Reference< XMultiServiceFactory > xMgr( in main() local
187xMgr->createInstance( OUString::createFromAscii("com.sun.star.registry.ImplementationRegistration"… in main()
200 xMgr->createInstance( in main()
204 xMgr->createInstance( in main()
208xMgr->createInstance( OUString::createFromAscii("com.sun.star.connection.Connector") ) , UNO_QUERY… in main()
223 xMgr->createInstance( OUString::createFromAscii( "com.sun.star.connection.Acceptor" ) ), in main()
277 Reference < XComponent > rComp( xMgr , UNO_QUERY ); in main()
/trunk/main/extensions/workben/
H A Dtestframecontrol.cxx230 XMultiServiceFactoryRef xMgr = createRegistryServiceManager( L"test.rdb" ); in init() local
231 registerUsrServices( xMgr ); in init()
232 setProcessServiceManager( xMgr ); in init()
236 XServiceRegistryRef xRegMgr(xMgr, USR_QUERY); in init()
238 …XImplementationRegistrationRef xIR( xMgr->createInstance(L"stardiv.uno.repos.ImplementationRegistr… in init()
255 XInterfaceRef xInst = xMgr->createInstance( L"stardiv.one.frame.FrameControl" ); in init()
262 XToolkitRef xToolkit( xMgr->createInstance( L"stardiv.vcl.VclToolkit" ), USR_QUERY ); in init()
/trunk/main/linguistic/source/
H A Dhyphdsp.cxx340 Reference< XMultiServiceFactory > xMgr( getProcessServiceFactory() ); in hyphenate() local
341 if (xMgr.is()) in hyphenate()
354 xMgr->createInstanceWithArguments( in hyphenate()
479 Reference< XMultiServiceFactory > xMgr( getProcessServiceFactory() ); in queryAlternativeSpelling() local
480 if (xMgr.is()) in queryAlternativeSpelling()
493 xMgr->createInstanceWithArguments( in queryAlternativeSpelling()
613 Reference< XMultiServiceFactory > xMgr( getProcessServiceFactory() ); in createPossibleHyphens() local
614 if (xMgr.is()) in createPossibleHyphens()
627 xMgr->createInstanceWithArguments( in createPossibleHyphens()
H A Dspelldsp.cxx399 Reference< XMultiServiceFactory > xMgr( getProcessServiceFactory() ); in isValid_Impl() local
400 if (xMgr.is()) in isValid_Impl()
416 xMgr->createInstanceWithArguments( in isValid_Impl()
585 Reference< XMultiServiceFactory > xMgr( getProcessServiceFactory() ); in spell_Impl() local
586 if (xMgr.is()) in spell_Impl()
603 xMgr->createInstanceWithArguments( in spell_Impl()
/trunk/main/cppuhelper/test/
H A Dtesthelper.cxx59 Reference< XMultiComponentFactory > xMgr( createRegistryServiceFactory( in SAL_IMPLEMENT_MAIN() local
62 OSL_VERIFY( Reference< beans::XPropertySet >( xMgr, UNO_QUERY )->getPropertyValue( in SAL_IMPLEMENT_MAIN()
70 OSL_ASSERT( xContext->getServiceManager() != xMgr ); // must be wrapped one in SAL_IMPLEMENT_MAIN()
76 Reference< XMultiServiceFactory > x( xMgr, UNO_QUERY ); in SAL_IMPLEMENT_MAIN()
88 xMgr.clear(); in SAL_IMPLEMENT_MAIN()
H A Dcfg_test.cxx256 Reference< lang::XMultiComponentFactory > xMgr( xContext->getServiceManager() ); in SAL_IMPLEMENT_MAIN() local
276 Reference< registry::XImplementationRegistration > xImplReg( xMgr->createInstanceWithContext( in SAL_IMPLEMENT_MAIN()
283 …OSL_VERIFY( (x = xMgr->createInstanceWithContext( OUSTR("com.sun.star.bootstrap.TestComponent0"), … in SAL_IMPLEMENT_MAIN()
284 …OSL_VERIFY( (x = xMgr->createInstanceWithContext( OUSTR("com.sun.star.bootstrap.TestComponent1"), … in SAL_IMPLEMENT_MAIN()
/trunk/main/svx/source/dialog/
H A Dpfiledlg.cxx81 uno::Reference< lang::XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() ); in SvxPluginFileDlg() local
83 if( xMgr.is() ) in SvxPluginFileDlg()
85 uno::Reference< plugin::XPluginManager > rPluginManager( xMgr->createInstance( in SvxPluginFileDlg()
227 uno::Reference< lang::XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() ); in IsAvailable() local
229 if( xMgr.is() ) in IsAvailable()
231 …ginManager > rPluginManager = uno::Reference< plugin::XPluginManager > ( xMgr->createInstance( OU… in IsAvailable()
/trunk/main/stoc/test/javavm/
H A Dtestjavavm.cxx59 sal_Bool testJavaVM(const Reference< XMultiServiceFactory > & xMgr ) in testJavaVM() argument
63 Reference<XInterface> xXInt= xMgr->createInstance(sVMService); in testJavaVM()
162 Reference<XMultiServiceFactory> xMgr( fac, UNO_QUERY); in SAL_IMPLEMENT_MAIN() local
170 xMgr->createInstance( sImplReg ), UNO_QUERY ); in SAL_IMPLEMENT_MAIN()
180 bSucc = testJavaVM( xMgr ); in SAL_IMPLEMENT_MAIN()
/trunk/main/editeng/source/misc/
H A Dunolingu.cxx84 uno::Reference< XMultiServiceFactory > xMgr = getProcessServiceFactory(); in GetLngSvcMgr_Impl() local
85 if (xMgr.is()) in GetLngSvcMgr_Impl()
87 xRes = uno::Reference< XLinguServiceManager > ( xMgr->createInstance( in GetLngSvcMgr_Impl()
882 uno::Reference< XMultiServiceFactory > xMgr = getProcessServiceFactory(); in LinguMgrAppExitLstnr() local
883 if ( xMgr.is() ) in LinguMgrAppExitLstnr()
885 xDesktop = uno::Reference< XComponent > ( xMgr->createInstance( in LinguMgrAppExitLstnr()
1101 uno::Reference< XMultiServiceFactory > xMgr( getProcessServiceFactory() ); in GetDicList() local
1102 if (xMgr.is()) in GetDicList()
1104 xDicList = uno::Reference< XDictionaryList > ( xMgr->createInstance( in GetDicList()
1119 if (xMgr.is()) in GetProp()
[all …]
/trunk/main/sw/source/ui/uno/
H A Ddlelstnr.cxx65 Reference< XMultiServiceFactory > xMgr( comphelper::getProcessServiceFactory() ); in SwLinguServiceEventListener() local
66 if (xMgr.is()) in SwLinguServiceEventListener()
72 xMgr->createInstance( aSvcName ), UNO_QUERY ); in SwLinguServiceEventListener()
77 … xLngSvcMgr = Reference< XLinguServiceManager >( xMgr->createInstance( aSvcName ), UNO_QUERY ); in SwLinguServiceEventListener()
84 … xGCIterator = Reference< XProofreadingIterator >( xMgr->createInstance( aSvcName ), UNO_QUERY ); in SwLinguServiceEventListener()
/trunk/main/sw/source/ui/dbui/
H A Daddresslistdialog.cxx223 uno::Reference< XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() ); in SwAddressListDialog() local
224 if( xMgr.is() ) in SwAddressListDialog()
226 …uno::Reference<XInterface> xInstance = xMgr->createInstance( C2U( "com.sun.star.sdb.DatabaseContex… in SwAddressListDialog()
302 uno::Reference< XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() ); in IMPL_LINK() local
303 if(pSelect && xMgr.is()) in IMPL_LINK()
321 xMgr->createInstance(C2U("com.sun.star.sdb.RowSet")), UNO_QUERY); in IMPL_LINK()
347 xMgr->createInstanceWithArguments( sDialogServiceName, aInit ), UNO_QUERY); in IMPL_LINK()
577 uno::Reference< XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() ); in DetectTablesAndQueries() local
579 xMgr->createInstance( C2U( "com.sun.star.task.InteractionHandler" )), UNO_QUERY); in DetectTablesAndQueries()
H A Ddbmgr.cxx244 uno::Reference<XMultiServiceFactory> xMgr = ::comphelper::getProcessServiceFactory(); in lcl_InitNumberFormatter() local
245 if( xMgr.is() ) in lcl_InitNumberFormatter()
1632 Reference< XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() ); in GetConnection() local
1640 xMgr->createInstance( C2U( "com.sun.star.task.InteractionHandler" )), UNO_QUERY); in GetConnection()
1671 Reference< XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() ); in GetColumnSupplier() local
1673 xMgr->createInstance(C2U("com.sun.star.sdb.RowSet")), UNO_QUERY); in GetColumnSupplier()
2286 uno::Reference< XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() ); in GetExistingDatabaseNames() local
2287 if( xMgr.is() ) in GetExistingDatabaseNames()
2700 xSource = SwNewDBMgr::GetDbtoolsClient().getDataSource(sDataSource, xMgr); in InsertText()
2785 if( xMgr.is() ) in createCursor()
[all …]
/trunk/main/scripting/source/storage/
H A DScriptSecurityManager.cxx89 … Reference< lang::XMultiComponentFactory > xMgr( m_xContext->getServiceManager(), UNO_SET_THROW ); in ScriptSecurityManager() local
92 …m_xConfigProvFactory.set( xMgr->createInstanceWithContext( s_configProv, m_xContext ), UNO_QUERY_T… in ScriptSecurityManager()
274 … Reference< lang::XMultiComponentFactory > xMgr( m_xContext->getServiceManager(), UNO_SET_THROW ); in executeDialog() local
276 xMgr->createInstanceWithArgumentsAndContext( s_securityDialog, aArgs, m_xContext ), in executeDialog()
438 … Reference< lang::XMultiComponentFactory > xMgr( m_xContext->getServiceManager(), UNO_SET_THROW ); in readConfiguration() local
441 xMgr->createInstanceWithContext( in readConfiguration()
/trunk/main/sw/source/ui/app/
H A Dswmodule.cxx251 uno::Reference< lang::XMultiServiceFactory > xMgr ( in GetScannerManager() local
253 if( xMgr.is() ) in GetScannerManager()
257 xMgr->createInstance( in GetScannerManager()
270 … uno::Reference< lang::XMultiServiceFactory > xMgr ( comphelper::getProcessServiceFactory() ); in GetLanguageGuesser() local
271 if (xMgr.is()) in GetLanguageGuesser()
274 xMgr->createInstance( in GetLanguageGuesser()
/trunk/main/cppuhelper/source/
H A Dshlib.cxx349 Reference< lang::XMultiServiceFactory > const & xMgr, in loadSharedLibComponentFactory()
409 xMgr.get(), ::getCppuType( &xMgr ) ); in loadSharedLibComponentFactory()
495 Reference< lang::XMultiServiceFactory > const & xMgr, in writeSharedLibComponentInfo()
540 xMgr.get(), ::getCppuType( &xMgr ) ); in writeSharedLibComponentInfo()
/trunk/main/stoc/test/javavm/jvm_interaction/
H A Dinteractionhandler.cxx133 sal_Bool test1(const Reference< XMultiServiceFactory > & xMgr ) in test1() argument
139 Reference<XInterface> xXInt= xMgr->createInstance(sVMService); in test1()
192 Reference<XMultiServiceFactory> xMgr( fac, UNO_QUERY); in SAL_IMPLEMENT_MAIN() local
195 bSucc= test1(xMgr); in SAL_IMPLEMENT_MAIN()
/trunk/main/testtools/source/performance/
H A Dubtest.cxx323 const Reference< XMultiServiceFactory > & xMgr, in createInstance()
327 Reference< XInterface > x( xMgr->createInstance( rServiceName ), UNO_QUERY ); in createInstance()
337 Reference< XSet > xSet( xMgr, UNO_QUERY ); in createInstance()
344 xMgr, Reference< XRegistryKey >() ) ) ); in createInstance()
349 xMgr, Reference< XRegistryKey >() ) ) ); in createInstance()
354 xMgr, Reference< XRegistryKey >() ) ) ); in createInstance()
359 xMgr, Reference< XRegistryKey >() ) ) ); in createInstance()
364 xMgr, Reference< XRegistryKey >() ) ) ); in createInstance()
374 x = xMgr->createInstance( rServiceName ); in createInstance()
/trunk/main/extensions/source/bibliography/
H A Ddatman.cxx114 Reference< XMultiServiceFactory > xMgr = comphelper::getProcessServiceFactory(); in getConnection() local
115 …Reference<XInterface> xNamingContextIfc = xMgr->createInstance(C2U("com.sun.star.sdb.DatabaseConte… in getConnection()
147 Reference<XInterface> xHdl = xMgr->createInstance(C2U("com.sun.star.task.InteractionHandler")); in getConnection()
632 Reference< XMultiServiceFactory > xMgr = comphelper::getProcessServiceFactory(); in DBChangeDialog_Impl() local
971 Reference< XMultiServiceFactory > xMgr = comphelper::getProcessServiceFactory(); in createDatabaseForm() local
1417 Reference< XMultiServiceFactory > xMgr = ::comphelper::getProcessServiceFactory(); in createGridModel() local
1418 …Reference< XInterface > xObject = xMgr->createInstance(C2U("com.sun.star.form.component.GridContr… in createGridModel()
1523 Reference< XMultiServiceFactory > xMgr = comphelper::getProcessServiceFactory(); in loadControlModel() local
1524 Reference< XInterface > xObject = xMgr->createInstance(aInstanceName); in loadControlModel()
1788 Reference< lang::XMultiServiceFactory > xMgr = comphelper::getProcessServiceFactory(); in GetFormController() local
[all …]
/trunk/main/odk/examples/cpp/counter/
H A Dcountermain.cxx65 Reference< XMultiComponentFactory > xMgr = xContext->getServiceManager(); in SAL_IMPLEMENT_MAIN() local
66 OSL_ENSURE( xMgr.is(), "### cannot get initial service manager!" ); in SAL_IMPLEMENT_MAIN()
68 Reference< XInterface > xx = xMgr->createInstanceWithContext( in SAL_IMPLEMENT_MAIN()
/trunk/main/filter/source/msfilter/
H A Dmsfiltertracer.cxx56 uno::Reference< lang::XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() ); in MSFilterTracer() local
57 if ( xMgr.is() ) in MSFilterTracer()
115 …mxHandler = uno::Reference< xml::sax::XDocumentHandler >( xMgr->createInstance( rtl::OUString::cre… in MSFilterTracer()
136 …mxFilterTracer = xMgr->createInstanceWithArguments( rtl::OUString::createFromAscii( "com.sun.star.… in MSFilterTracer()
/trunk/main/sw/source/core/edit/
H A Dedfldexp.cxx47 uno::Reference< lang::XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() ); in IsFieldDataSourceAvailable() local
48 if( !xMgr.is() ) in IsFieldDataSourceAvailable()
50 …uno::Reference<uno::XInterface> xInstance = xMgr->createInstance( OUString::createFromAscii( "com.… in IsFieldDataSourceAvailable()

Completed in 237 milliseconds

1234