From e4c30ac9c50bf102184bb8e2a90de0acdea042ee Mon Sep 17 00:00:00 2001 From: Noel Date: Wed, 2 Dec 2020 09:50:54 +0200 Subject: convert EHistoryType to scoped enum Change-Id: I115fc0ed81d6392d3649757727c4d9468213619d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107046 Tested-by: Jenkins Reviewed-by: Noel Grandin --- unotools/source/config/historyoptions.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unotools') diff --git a/unotools/source/config/historyoptions.cxx b/unotools/source/config/historyoptions.cxx index d200aa833982..4e6aac18caf7 100644 --- a/unotools/source/config/historyoptions.cxx +++ b/unotools/source/config/historyoptions.cxx @@ -132,11 +132,11 @@ sal_uInt32 SvtHistoryOptions_Impl::GetCapacity(EHistoryType eHistory) const { switch (eHistory) { - case ePICKLIST: + case EHistoryType::PickList: xListAccess->getPropertyValue("PickListSize") >>= nSize; break; - case eHELPBOOKMARKS: + case EHistoryType::HelpBookmarks: xListAccess->getPropertyValue("HelpBookmarkSize") >>= nSize; break; @@ -160,11 +160,11 @@ uno::Reference SvtHistoryOptions_Impl::GetListAccess(EHi { switch (eHistory) { - case ePICKLIST: + case EHistoryType::PickList: m_xCfg->getByName("PickList") >>= xListAccess; break; - case eHELPBOOKMARKS: + case EHistoryType::HelpBookmarks: m_xCfg->getByName("HelpBookmarks") >>= xListAccess; break; -- cgit