diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-10-24 11:29:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-10-24 11:29:35 +0200 |
commit | 3c9d49ef2b9fd4c46a6760e599f923e559d56a54 (patch) | |
tree | 0ed6a2c437333d9a171a4b1857cfcb1a206f4d8a /bf_svtools/source | |
parent | 5945161bdfa46e76ca911fea2dc937f9fe95b074 (diff) |
fdo#46808: Adapt to core comphelper::ConfigurationHelper changes
Diffstat (limited to 'bf_svtools/source')
-rw-r--r-- | bf_svtools/source/config/svt_saveopt.cxx | 4 | ||||
-rw-r--r-- | bf_svtools/source/config/svt_viewoptions.cxx | 2 |
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); |