summaryrefslogtreecommitdiff
path: root/sfx2/source/control
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-12-02 09:50:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-03 19:36:46 +0100
commite4c30ac9c50bf102184bb8e2a90de0acdea042ee (patch)
tree1fc09e435338369a7340abde0f90cabb5d7ff2cd /sfx2/source/control
parentfd670f52523e3a4dd51afe116b0f6ce90ce0d2fe (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 'sfx2/source/control')
-rw-r--r--sfx2/source/control/recentdocsview.cxx2
-rw-r--r--sfx2/source/control/recentdocsviewitem.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index e1b086583220..8bb669f2cf4e 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -237,7 +237,7 @@ void RecentDocsView::Reload()
{
Clear();
- Sequence< Sequence< PropertyValue > > aHistoryList = SvtHistoryOptions().GetList( ePICKLIST );
+ Sequence< Sequence< PropertyValue > > aHistoryList = SvtHistoryOptions().GetList( EHistoryType::PickList );
for ( int i = 0; i < aHistoryList.getLength(); i++ )
{
const Sequence< PropertyValue >& rRecentEntry = aHistoryList[i];
diff --git a/sfx2/source/control/recentdocsviewitem.cxx b/sfx2/source/control/recentdocsviewitem.cxx
index dbec7dac90db..7a1268f2800d 100644
--- a/sfx2/source/control/recentdocsviewitem.cxx
+++ b/sfx2/source/control/recentdocsviewitem.cxx
@@ -163,7 +163,7 @@ void RecentDocsViewItem::MouseButtonUp(const MouseEvent& rMEvt)
{
if (getRemoveIconArea().IsInside(rMEvt.GetPosPixel()))
{
- SvtHistoryOptions().DeleteItem(ePICKLIST, maURL);
+ SvtHistoryOptions().DeleteItem(EHistoryType::PickList, maURL);
mrParent.Reload();
return;
}