summaryrefslogtreecommitdiff
path: root/svtools/source
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 /svtools/source
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 'svtools/source')
-rw-r--r--svtools/source/control/inettbc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index 907ddb32abbb..4990b07654f1 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -140,7 +140,7 @@ SvtMatchContext_Impl::~SvtMatchContext_Impl()
void SvtMatchContext_Impl::FillPicklist(std::vector<OUString>& rPickList)
{
// Read the history of picks
- Sequence< Sequence< PropertyValue > > seqPicklist = SvtHistoryOptions().GetList( ePICKLIST );
+ Sequence< Sequence< PropertyValue > > seqPicklist = SvtHistoryOptions().GetList( EHistoryType::PickList );
sal_uInt32 nCount = seqPicklist.getLength();
for( sal_uInt32 nItem=0; nItem < nCount; nItem++ )
@@ -928,7 +928,7 @@ void SvtURLBox::UpdatePicklistForSmartProtocol_Impl()
return;
// read history pick list
- const Sequence< Sequence< PropertyValue > > seqPicklist = SvtHistoryOptions().GetList( ePICKLIST );
+ const Sequence< Sequence< PropertyValue > > seqPicklist = SvtHistoryOptions().GetList( EHistoryType::PickList );
INetURLObject aCurObj;
for( const Sequence< PropertyValue >& rPropertySet : seqPicklist )