summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnumfe.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-03 11:45:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-03 13:13:06 +0200
commitd2848c44ec0f9b04a0f9b24653ef0273ae7ace97 (patch)
treed3bcb226d2733362312e6b6fe804b7a2d1f166a7 /xmloff/source/style/xmlnumfe.cxx
parent815afb06b78b8fbf83f6a48b89500fb34dc4b40b (diff)
loplugin:constmethod in xmloff
Change-Id: I79ff1001a3ac8fde10de1ab391772e2bfeb6a314 Reviewed-on: https://gerrit.libreoffice.org/78546 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style/xmlnumfe.cxx')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index e4c382a10a38..620a79a7aa98 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -110,7 +110,7 @@ public:
bool GetFirstUsed(sal_uInt32& nKey);
bool GetNextUsed(sal_uInt32& nKey);
- uno::Sequence<sal_Int32> GetWasUsed();
+ uno::Sequence<sal_Int32> GetWasUsed() const;
void SetWasUsed(const uno::Sequence<sal_Int32>& rWasUsed);
};
@@ -186,7 +186,7 @@ bool SvXMLNumUsedList_Impl::GetNextUsed(sal_uInt32& nKey)
return bRet;
}
-uno::Sequence<sal_Int32> SvXMLNumUsedList_Impl::GetWasUsed()
+uno::Sequence<sal_Int32> SvXMLNumUsedList_Impl::GetWasUsed() const
{
return comphelper::containerToSequence<sal_Int32>(aWasUsed);
}
@@ -1904,7 +1904,7 @@ void SvXMLNumFmtExport::SetUsed( sal_uInt32 nKey )
}
}
-uno::Sequence<sal_Int32> SvXMLNumFmtExport::GetWasUsed()
+uno::Sequence<sal_Int32> SvXMLNumFmtExport::GetWasUsed() const
{
if (pUsedList)
return pUsedList->GetWasUsed();