diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-04 09:12:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-01-09 08:08:14 +0200 |
commit | fd5a2eb07011e8aedfd5ef0a82edaf07221554ba (patch) | |
tree | cae1b578b1f5a3faea88499274c23303401a9439 /dbaccess/source/inc | |
parent | 3a50e97499d0c1ff6307dcfe9883aea1af300947 (diff) |
fdo#46808, new method OConfigurationTreeRoot::createWithComponentContext
and use it to replace usage of createWithServiceFactory, and thus
replace usage of XMultiServiceFactory.
Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
Diffstat (limited to 'dbaccess/source/inc')
-rw-r--r-- | dbaccess/source/inc/dsntypes.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dbaccess/source/inc/dsntypes.hxx b/dbaccess/source/inc/dsntypes.hxx index e50c936ae051..fc2d64d2f76b 100644 --- a/dbaccess/source/inc/dsntypes.hxx +++ b/dbaccess/source/inc/dsntypes.hxx @@ -20,8 +20,6 @@ #ifndef _DBACCESS_DSNTYPES_HXX_ #define _DBACCESS_DSNTYPES_HXX_ -#include <com/sun/star/lang/XMultiServiceFactory.hpp> - #include <comphelper/stl_types.hxx> #include "dbadllapi.hxx" #include <tools/string.hxx> @@ -111,7 +109,7 @@ protected: StringVector m_aDsnTypesDisplayNames; /// user readable names for the datasource types StringVector m_aDsnPrefixes; /// DSN prefixes which determine the type of a datasource ::connectivity::DriversConfig m_aDriverConfig; - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory; + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; #if OSL_DEBUG_LEVEL > 0 sal_Int32 m_nLivingIterators; /// just for debugging reasons, counts the living iterators @@ -121,7 +119,7 @@ public: class TypeIterator; friend class ODsnTypeCollection::TypeIterator; - ODsnTypeCollection(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _xFactory); + ODsnTypeCollection(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _xContext); ~ODsnTypeCollection(); /// get the datasource type display name from a DSN string |