diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-23 13:32:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-24 11:48:38 +0200 |
commit | 0839f90394d96cf0fe414913527b3e3e5ba3c86a (patch) | |
tree | b30ad360ae30797d9944453e6cface25db4c59c7 /unotools | |
parent | a9a04f11a6b3938aa2d8d0f8f21a866c65b761da (diff) |
convert EConfigurationModes to scoped enum
Change-Id: I1e81c8d637e738f536f7efad8b67d0c9183e6483
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/historyoptions.cxx | 4 | ||||
-rw-r--r-- | unotools/source/config/useroptions.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/viewoptions.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
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; |