Home
last modified time | relevance | path

Searched refs:xInstance (Results 1 – 25 of 32) sorted by path

12

/trunk/main/comphelper/source/misc/
H A Dinstancelocker.cxx142 uno::Reference< uno::XInterface > xInstance; in initialize() local
155 if ( !( aArguments[0] >>= xInstance ) || !xInstance.is() ) in initialize()
183 xInstance, in initialize()
256 const uno::Reference< uno::XInterface >& xInstance, in OLockListener()
259 : m_xInstance( xInstance ) in OLockListener()
H A Dinstancelocker.hxx106 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xInstance,
/trunk/main/cppuhelper/source/
H A Dcomponent_context.cxx276 static inline void try_dispose( Reference< XInterface > const & xInstance ) in try_dispose() argument
279 Reference< lang::XComponent > xComp( xInstance, UNO_QUERY ); in try_dispose()
554 Reference< XInterface > xInstance; in lookupMap() local
571 xInstance = args.getLength() in lookupMap()
586 xInstance = args.getLength() in lookupMap()
596 xInstance = args.getLength() in lookupMap()
622 if (! xInstance.is()) in lookupMap()
637 pEntry->value <<= xInstance; in lookupMap()
645 try_dispose( xInstance ); in lookupMap()
/trunk/main/cpputools/source/unoexe/
H A Dunoexe.cxx408 Reference< XInterface > xInstance; in loadComponent() local
418 xInstance = xCFac->createInstanceWithContext( xContext ); in loadComponent()
428 xInstance = xSFac->createInstance(); in loadComponent()
433 if (! xInstance.is()) in loadComponent()
444 return xInstance; in loadComponent()
847 Reference< XInterface > xInstance; variable
849 xInstance = loadComponent( xContext, aImplName, aLocation );
851 createInstance( xInstance, xContext, aServiceName );
854 Reference< XMain > xMain( xInstance, UNO_QUERY );
861 Reference< XComponent > xComp( xInstance, UNO_QUERY );
/trunk/main/dbaccess/source/ui/dlg/
H A DConnectionHelper.cxx390 …Reference<XInterface> xInstance = xFactory->createInstance(::rtl::OUString( RTL_CONSTASCII_USTRING… variable
391 OSL_ENSURE( xInstance.is(), "failed to create instance" );
392 …Reference<XMozillaBootstrap> xMozillaBootstrap = Reference<XMozillaBootstrap>(xInstance,UNO_QUERY…
/trunk/main/extensions/source/bibliography/
H A Dbibconfig.cxx375 …Reference<XInterface> xInstance = xMgr->createInstance( C2U( "com.sun.star.sdb.DatabaseContext" )); in GetDataSourceNames() local
376 xDBContext = Reference<XNameAccess>(xInstance, UNO_QUERY) ; in GetDataSourceNames()
/trunk/main/extensions/source/logging/
H A Dloggerconfig.cxx192 Reference< XInterface > xInstance; in lcl_createInstanceFromSetting_throw() local
229 … bSuccess = _rContext.createComponentWithArguments( sServiceName, aConstructionArgs, xInstance ); in lcl_createInstanceFromSetting_throw()
233 bSuccess = _rContext.createComponent( sServiceName, xInstance ); in lcl_createInstanceFromSetting_throw()
240 return xInstance; in lcl_createInstanceFromSetting_throw()
/trunk/main/extensions/source/ole/
H A Dservprov.cxx176 Reference<XInterface> xInstance; in CreateInstance() local
180 xInstance = m_xSingleServiceFactory->createInstance(); in CreateInstance()
182 if (xInstance.is()) in CreateInstance()
184 Any usrAny(&xInstance, getCppuType( & xInstance)); in CreateInstance()
/trunk/main/forms/source/xforms/
H A Dmodel.cxx161 Reference<XDocument> xInstance = getDefaultInstance(); in getEvaluationContext() local
162 Reference<XNode> xElement( xInstance->getDocumentElement(), UNO_QUERY ); in getEvaluationContext()
168 xInstance->createElement( OUSTRING("instanceData") ), in getEvaluationContext()
170 Reference<XNode>( xInstance, UNO_QUERY_THROW)->appendChild( xElement ); in getEvaluationContext()
464 Reference<XDocument> xInstance = in loadInstance() local
466 if( xInstance.is() ) in loadInstance()
469 setInstanceData( aSequence, NULL, &xInstance, in loadInstance()
H A Dmodel_ui.cxx200 Reference<XDocument> xInstance; in lcl_OutInstance() local
201 getInstanceData( aValues, &sId, &xInstance, NULL, NULL ); in lcl_OutInstance()
204 if( xInstance == xDoc ) in lcl_OutInstance()
426 XDocument_t xInstance = getDocumentBuilder()->newDocument(); in newInstance() local
427 DBG_ASSERT( xInstance.is(), "failed to create DOM instance" ); in newInstance()
429 Reference<XNode>( xInstance, UNO_QUERY_THROW )->appendChild( in newInstance()
435 setInstanceData( aSequence, &sName, &xInstance, &sURL, &bOnce ); in newInstance()
439 return xInstance; in newInstance()
1020 Reference<XDocument> xInstance; in setInstanceData() local
1023 getInstanceData( aSequence, &sID, &xInstance, &sURL, &bURLOnce ); in setInstanceData()
[all …]
H A Dunohelper.cxx60 Reference<XInterface> xInstance = xFactory->createInstance( sServiceName ); in createInstance() local
61 OSL_ENSURE( xInstance.is(), "failed to create instance" ); in createInstance()
63 return xInstance; in createInstance()
/trunk/main/javaunohelper/com/sun/star/comp/helper/
H A DComponentContext.java130 Object xInstance = null; in getValueByName() local
139 xInstance = m_xSMgr.createInstanceWithContext( serviceName, this ); in getValueByName()
154 xInstance = xCompFac.createInstanceWithContext( this ); in getValueByName()
169 if (xInstance != null) in getValueByName()
175 entry.m_value = xInstance; in getValueByName()
182 XComponent.class, xInstance ); in getValueByName()
/trunk/main/odk/examples/DevelopersGuide/Config/
H A DConfigExamples.java546 XTemplateInstance xInstance = in printRegisteredFilters()
550 if (xInstance != null && xInstance.getTemplateName().endsWith("Filter")) { in printRegisteredFilters()
/trunk/main/offapi/com/sun/star/embed/
H A DInstanceLocker.idl60 @param xInstance
71 InstanceLockerCtor1( [in] com::sun::star::uno::XInterface xInstance,
79 @param xInstance
100 InstanceLockerCtor2( [in] com::sun::star::uno::XInterface xInstance,
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/util/
H A DInstCreator.java43 XInterface xInstance; field in InstCreator
54 xInstance = createInstance(); in InstCreator()
58 return xInstance; in getInstance()
/trunk/main/scaddins/source/analysis/
H A Danalysishelper.cxx3014 uno::Reference< uno::XInterface > xInstance = xServiceFact->createInstance( in ScaAnyConverter() local
3016 xFormatter = uno::Reference< util::XNumberFormatter >( xInstance, uno::UNO_QUERY ); in ScaAnyConverter()
/trunk/main/sfx2/source/doc/
H A Dsfxmodelfactory.cxx178 Reference< XInterface > xInstance( impl_createInstance( nCreationFlags ) ); in createInstanceWithArguments() local
194 Reference< XInitialization > xModelInit( xInstance, UNO_QUERY ); in createInstanceWithArguments()
200 return xInstance; in createInstanceWithArguments()
/trunk/main/sw/source/core/edit/
H A Dedfldexp.cxx50 …uno::Reference<uno::XInterface> xInstance = xMgr->createInstance( OUString::createFromAscii( "com.… in IsFieldDataSourceAvailable() local
51 uno::Reference<container::XNameAccess> xDBContext(xInstance, uno::UNO_QUERY) ; in IsFieldDataSourceAvailable()
/trunk/main/sw/source/ui/dbui/
H A Daddresslistdialog.cxx226 …uno::Reference<XInterface> xInstance = xMgr->createInstance( C2U( "com.sun.star.sdb.DatabaseContex… in SwAddressListDialog() local
227 m_xDBContext = uno::Reference<XNameAccess>(xInstance, UNO_QUERY) ; in SwAddressListDialog()
H A Ddbinsdlg.cxx1282 …Reference<XInterface> xInstance = xMgr->createInstance( C2U( "com.sun.star.util.NumberFormatter" )… in DataToDoc() local
1283 aDBFormatData.xFormatter = Reference<util::XNumberFormatter>(xInstance, UNO_QUERY) ; in DataToDoc()
H A Ddbmgr.cxx247 …uno::Reference<XInterface> xInstance = xMgr->createInstance( C2U( "com.sun.star.util.NumberFormatt… in lcl_InitNumberFormatter() local
248 rParam.xFormatter = uno::Reference<util::XNumberFormatter>(xInstance, UNO_QUERY) ; in lcl_InitNumberFormatter()
2289 …uno::Reference<XInterface> xInstance = xMgr->createInstance( C2U( "com.sun.star.sdb.DatabaseContex… in GetExistingDatabaseNames() local
2290 xDBContext = uno::Reference<XNameAccess>(xInstance, UNO_QUERY) ; in GetExistingDatabaseNames()
2412 …Reference<XInterface> xInstance = xMgr->createInstance( C2U( "com.sun.star.sdb.DatabaseContext" )); in LoadAndRegisterDataSource() local
2413 Reference<XNameAccess> xDBContext(xInstance, UNO_QUERY_THROW); in LoadAndRegisterDataSource()
2787 uno::Reference<XInterface> xInstance = xMgr->createInstance( in createCursor() local
2789 uno::Reference<XPropertySet> xRowSetPropSet(xInstance, UNO_QUERY); in createCursor()
2797 uno::Reference< XCompletedExecution > xRowSet(xInstance, UNO_QUERY); in createCursor()
H A Ddbtree.cxx185 Reference<XInterface> xInstance = xMgr->createInstance( in HasContext() local
187 xDBContext = Reference<XNameAccess>(xInstance, UNO_QUERY) ; in HasContext()
/trunk/main/sw/source/ui/fldui/
H A Dchangedb.cxx143 …Reference<XInterface> xInstance = xMgr->createInstance( C2U( "com.sun.star.sdb.DatabaseContext" )); in FillDBPopup() local
144 xDBContext = Reference<XNameAccess>(xInstance, UNO_QUERY) ; in FillDBPopup()
/trunk/main/sw/source/ui/uiview/
H A Dview2.cxx2324 uno::Reference<XInterface> xInstance = xMgr->createInstance( in GenerateFormLetter() local
2326 xDBContext = uno::Reference<XNameAccess>(xInstance, UNO_QUERY) ; in GenerateFormLetter()
/trunk/main/sw/source/ui/uno/
H A Dunomailmerge.cxx652 Reference< XInterface > xInstance = xMgr->createInstance( in execute() local
654 aRowSetDisposeHelper.reset( xInstance, SharedComponent::TakeOwnership ); in execute()
655 Reference< XPropertySet > xRowSetPropSet( xInstance, UNO_QUERY ); in execute()
668 Reference< sdbc::XRowSet > xRowSet( xInstance, UNO_QUERY ); in execute()

Completed in 229 milliseconds

12