From 0839f90394d96cf0fe414913527b3e3e5ba3c86a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 23 Feb 2016 13:32:21 +0200 Subject: convert EConfigurationModes to scoped enum Change-Id: I1e81c8d637e738f536f7efad8b67d0c9183e6483 --- unotools/source/config/historyoptions.cxx | 4 ++-- unotools/source/config/useroptions.cxx | 2 +- unotools/source/config/viewoptions.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'unotools') diff --git a/unotools/source/config/historyoptions.cxx b/unotools/source/config/historyoptions.cxx index 134bee95d108..bb9d41d11b2a 100644 --- a/unotools/source/config/historyoptions.cxx +++ b/unotools/source/config/historyoptions.cxx @@ -110,14 +110,14 @@ SvtHistoryOptions_Impl::SvtHistoryOptions_Impl() ::comphelper::ConfigurationHelper::openConfig( ::comphelper::getProcessComponentContext(), s_sHistories, - ::comphelper::ConfigurationHelper::E_STANDARD), + ::comphelper::EConfigurationModes::Standard), uno::UNO_QUERY); m_xCommonXCU.set( ::comphelper::ConfigurationHelper::openConfig( ::comphelper::getProcessComponentContext(), s_sCommonHistory, - ::comphelper::ConfigurationHelper::E_STANDARD), + ::comphelper::EConfigurationModes::Standard), uno::UNO_QUERY); } catch(const uno::Exception& ex) diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx index a4d2afee4075..cb6aa0bb5d56 100644 --- a/unotools/source/config/useroptions.cxx +++ b/unotools/source/config/useroptions.cxx @@ -130,7 +130,7 @@ SvtUserOptions::Impl::Impl() : comphelper::ConfigurationHelper::openConfig( comphelper::getProcessComponentContext(), "org.openoffice.UserProfile/Data", - comphelper::ConfigurationHelper::E_STANDARD + comphelper::EConfigurationModes::Standard ), uno::UNO_QUERY ); diff --git a/unotools/source/config/viewoptions.cxx b/unotools/source/config/viewoptions.cxx index 35c3fcd1a945..874f9f13df3d 100644 --- a/unotools/source/config/viewoptions.cxx +++ b/unotools/source/config/viewoptions.cxx @@ -157,7 +157,7 @@ SvtViewOptionsBase_Impl::SvtViewOptionsBase_Impl( const OUString& sList ) m_xRoot.set( ::comphelper::ConfigurationHelper::openConfig( ::comphelper::getProcessComponentContext(), PACKAGE_VIEWS, - ::comphelper::ConfigurationHelper::E_STANDARD), + ::comphelper::EConfigurationModes::Standard), css::uno::UNO_QUERY); if (m_xRoot.is()) m_xRoot->getByName(sList) >>= m_xSet; -- cgit