summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bf_svtools/source/config/svt_saveopt.cxx4
-rw-r--r--bf_svtools/source/config/svt_viewoptions.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/bf_svtools/source/config/svt_saveopt.cxx b/bf_svtools/source/config/svt_saveopt.cxx
index 0f0fa2d60..968578d41 100644
--- a/bf_svtools/source/config/svt_saveopt.cxx
+++ b/bf_svtools/source/config/svt_saveopt.cxx
@@ -301,7 +301,7 @@ SvtSaveOptions_Impl::SvtSaveOptions_Impl()
try
{
css::uno::Reference< css::uno::XInterface > xCFG = ::comphelper::ConfigurationHelper::openConfig(
- ::comphelper::getProcessServiceFactory(),
+ ::comphelper::getProcessComponentContext(),
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "org.openoffice.Office.Recovery" )),
::comphelper::ConfigurationHelper::E_READONLY);
@@ -463,7 +463,7 @@ void SvtSaveOptions_Impl::Commit()
PutProperties( aNames, aValues );
css::uno::Reference< css::uno::XInterface > xCFG = ::comphelper::ConfigurationHelper::openConfig(
- ::comphelper::getProcessServiceFactory(),
+ ::comphelper::getProcessComponentContext(),
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "org.openoffice.Office.Recovery" )),
::comphelper::ConfigurationHelper::E_STANDARD);
diff --git a/bf_svtools/source/config/svt_viewoptions.cxx b/bf_svtools/source/config/svt_viewoptions.cxx
index 43f6c0e08..304374d8a 100644
--- a/bf_svtools/source/config/svt_viewoptions.cxx
+++ b/bf_svtools/source/config/svt_viewoptions.cxx
@@ -318,7 +318,7 @@ SvtViewOptionsBase_Impl::SvtViewOptionsBase_Impl( const ::rtl::OUString& sList )
{
m_xRoot = css::uno::Reference< css::container::XNameAccess >(
::comphelper::ConfigurationHelper::openConfig(
- ::comphelper::getProcessServiceFactory(),
+ ::comphelper::getProcessComponentContext(),
PACKAGE_VIEWS,
::comphelper::ConfigurationHelper::E_STANDARD),
css::uno::UNO_QUERY);