summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-25 11:36:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-25 16:02:40 +0000
commitd57f95312db3d5904b203ae2893ff2f8e95f7ec3 (patch)
treef01e636c8b8d324739460bd50f269e2af4290536
parentaaa325725260a766c15aff8f462b1872aa76bc9d (diff)
cppcheck: methods can be const
-rw-r--r--unotools/source/config/compatibility.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx
index 3b891324632a..6d426095eed2 100644
--- a/unotools/source/config/compatibility.cxx
+++ b/unotools/source/config/compatibility.cxx
@@ -223,7 +223,7 @@ class SvtCompatibility
return lEntries.size();
}
- const SvtCompatibilityEntry& operator[]( int i )
+ const SvtCompatibilityEntry& operator[]( int i ) const
{
return lEntries[i];
}