summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/SwStyleNameMapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/SwStyleNameMapper.cxx')
-rw-r--r--sw/source/core/doc/SwStyleNameMapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/SwStyleNameMapper.cxx b/sw/source/core/doc/SwStyleNameMapper.cxx
index 20df27fc3837..dab5cf8a00c7 100644
--- a/sw/source/core/doc/SwStyleNameMapper.cxx
+++ b/sw/source/core/doc/SwStyleNameMapper.cxx
@@ -394,7 +394,7 @@ static void lcl_CheckSuffixAndDelete(OUString & rString)
typedef boost::tuple<sal_uInt16, sal_uInt16, const ::std::vector<OUString>& (*)() > NameArrayIndexTuple_t;
-static sal_uInt16 lcl_AccumulateIndexCount( sal_uInt16 nSum, NameArrayIndexTuple_t const tuple ){
+static sal_uInt16 lcl_AccumulateIndexCount( sal_uInt16 nSum, const NameArrayIndexTuple_t& tuple ){
// Return running sum + (index end) - (index start)
return nSum + boost::get<1>( tuple ) - boost::get<0>( tuple );
}