diff options
author | Noel <noelgrandin@gmail.com> | 2020-12-02 09:50:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-03 19:36:46 +0100 |
commit | e4c30ac9c50bf102184bb8e2a90de0acdea042ee (patch) | |
tree | 1fc09e435338369a7340abde0f90cabb5d7ff2cd /unotools | |
parent | fd670f52523e3a4dd51afe116b0f6ce90ce0d2fe (diff) |
convert EHistoryType to scoped enum
Change-Id: I115fc0ed81d6392d3649757727c4d9468213619d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107046
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/historyoptions.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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<container::XNameAccess> 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; |