summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2016-03-01 23:37:07 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2016-03-01 23:51:06 +0100
commit0d34f4ac9b17348d7956285c6cefb28bea2537b6 (patch)
tree6020020a616d27f0b96bab129dcdb15b51012595
parentsal_uIntPtr/sal_uLong to Index (aka sal_uInt32) in UniqueIndex (diff)
downloadcore-0d34f4ac9b17348d7956285c6cefb28bea2537b6.tar.gz
core-0d34f4ac9b17348d7956285c6cefb28bea2537b6.zip
Data member nStartIndex can be const
Change-Id: I94a3bdd01186061fbd95b62494c24a50f0c4866d
-rw-r--r--include/tools/unqidx.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/unqidx.hxx b/include/tools/unqidx.hxx
index c783151c12b8..dd66c300b1bc 100644
--- a/include/tools/unqidx.hxx
+++ b/include/tools/unqidx.hxx
@@ -33,7 +33,7 @@ public:
private:
std::map<Index, void*> maMap;
- Index nStartIndex;
+ const Index nStartIndex;
Index nUniqIndex;
Index nCount;