summaryrefslogtreecommitdiff
path: root/include/tools/multisel.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-26 13:40:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-27 08:29:49 +0200
commit833c4965fc0941ea997852e3d99dcd7688e58c14 (patch)
tree8133da6da185cabb918870f8e61bb500f46c5cec /include/tools/multisel.hxx
parent64035391ebe8810520a214a3ae0aeb4c1b039819 (diff)
loplugin:constfields in tools
Change-Id: I83499cfb49f7abdbf0629c60167d09a1352571ee Reviewed-on: https://gerrit.libreoffice.org/60987 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools/multisel.hxx')
-rw-r--r--include/tools/multisel.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx
index 3e06a3dce239..feb96abd2760 100644
--- a/include/tools/multisel.hxx
+++ b/include/tools/multisel.hxx
@@ -77,16 +77,16 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC StringRangeEnumerator
{
struct Range
{
- sal_Int32 nFirst;
- sal_Int32 nLast;
+ sal_Int32 const nFirst;
+ sal_Int32 const nLast;
Range( sal_Int32 i_nFirst, sal_Int32 i_nLast ) : nFirst( i_nFirst ), nLast( i_nLast ) {}
};
std::vector< StringRangeEnumerator::Range > maSequence;
sal_Int32 mnCount;
- sal_Int32 mnMin;
- sal_Int32 mnMax;
- sal_Int32 mnOffset;
+ sal_Int32 const mnMin;
+ sal_Int32 const mnMax;
+ sal_Int32 const mnOffset;
bool mbValidInput;
bool setRange( const OUString& i_rNewRange );