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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user