fdo#46808, new method OConfigurationTreeRoot::createWithComponentContext

and use it to replace usage of createWithServiceFactory, and thus
replace usage of XMultiServiceFactory.

Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
This commit is contained in:
Noel Grandin
2013-01-04 09:12:44 +02:00
parent 3a50e97499
commit fd5a2eb070
49 changed files with 151 additions and 127 deletions

View File

@@ -138,8 +138,8 @@ namespace dbaccess
,m_aConfigurationRoot()
,m_aRegistrationListeners( m_aMutex )
{
m_aConfigurationRoot = ::utl::OConfigurationTreeRoot::createWithServiceFactory(
m_aContext.getLegacyServiceFactory(), getConfigurationRootPath(), -1, ::utl::OConfigurationTreeRoot::CM_UPDATABLE );
m_aConfigurationRoot = ::utl::OConfigurationTreeRoot::createWithComponentContext(
m_aContext.getUNOContext(), getConfigurationRootPath(), -1, ::utl::OConfigurationTreeRoot::CM_UPDATABLE );
}
DatabaseRegistrations::~DatabaseRegistrations()