summaryrefslogtreecommitdiff
path: root/svx/source/form/fmcontrollayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmcontrollayout.cxx')
-rw-r--r--svx/source/form/fmcontrollayout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmcontrollayout.cxx b/svx/source/form/fmcontrollayout.cxx
index b10521e205c0..85c9f3f06d4c 100644
--- a/svx/source/form/fmcontrollayout.cxx
+++ b/svx/source/form/fmcontrollayout.cxx
@@ -285,8 +285,8 @@ namespace svxform
{
::rtl::OUString sConfigName = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/org.openoffice.Office.Common/Forms/ControlLayout/" ) );
sConfigName += DocumentClassification::getModuleIdentifierForDocumentType( _eDocType );
- return OConfigurationTreeRoot::createWithServiceFactory(
- ::comphelper::getProcessServiceFactory(), // TODO
+ return OConfigurationTreeRoot::createWithComponentContext(
+ ::comphelper::getProcessComponentContext(), // TODO
sConfigName );
}