From e8aa70b5d44a6cbedacfe0e5d1b1da2c76a3c588 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 16 Oct 2012 14:05:41 +0200 Subject: fdo#46808, convert comphelper::ConfigurationHelper to XComponentContext Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1 --- svtools/source/config/accessibilityoptions.cxx | 2 +- svtools/source/config/printoptions.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools') diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx index 148cb0e69980..d6f9838295e3 100644 --- a/svtools/source/config/accessibilityoptions.cxx +++ b/svtools/source/config/accessibilityoptions.cxx @@ -123,7 +123,7 @@ SvtAccessibilityOptions_Impl::SvtAccessibilityOptions_Impl() { m_xCfg = css::uno::Reference< css::container::XNameAccess >( ::comphelper::ConfigurationHelper::openConfig( - comphelper::getProcessServiceFactory(), + comphelper::getProcessComponentContext(), s_sAccessibility, ::comphelper::ConfigurationHelper::E_STANDARD), css::uno::UNO_QUERY); diff --git a/svtools/source/config/printoptions.cxx b/svtools/source/config/printoptions.cxx index 724ecb875c2b..f3fcc4d0e874 100644 --- a/svtools/source/config/printoptions.cxx +++ b/svtools/source/config/printoptions.cxx @@ -163,7 +163,7 @@ SvtPrintOptions_Impl::SvtPrintOptions_Impl(const OUString& rConfigRoot) { m_xCfg = css::uno::Reference< css::container::XNameAccess >( ::comphelper::ConfigurationHelper::openConfig( - comphelper::getProcessServiceFactory(), + comphelper::getProcessComponentContext(), ROOTNODE_PRINTOPTION, ::comphelper::ConfigurationHelper::E_STANDARD), css::uno::UNO_QUERY); -- cgit