summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dpdimsave.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-11 10:46:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-15 07:56:12 +0200
commitfb1d3b580763a333bbbfe115d09e1b5cd8849675 (patch)
tree93cf0598c86ba188f69ab30425ffea856ea9886b /sc/source/core/data/dpdimsave.cxx
parent40bc840da261fcc5652e5278dc2566b61f990884 (diff)
loplugin:constfields in sc
Change-Id: If326175d571d15752efd1b63df45b2bc785f7541 Reviewed-on: https://gerrit.libreoffice.org/61653 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/data/dpdimsave.cxx')
-rw-r--r--sc/source/core/data/dpdimsave.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/dpdimsave.cxx b/sc/source/core/data/dpdimsave.cxx
index 018a7a36ae9c..9893729b3a0c 100644
--- a/sc/source/core/data/dpdimsave.cxx
+++ b/sc/source/core/data/dpdimsave.cxx
@@ -563,14 +563,14 @@ namespace {
struct ScDPSaveGroupDimNameFunc
{
- OUString maDimName;
+ OUString const maDimName;
explicit ScDPSaveGroupDimNameFunc( const OUString& rDimName ) : maDimName( rDimName ) {}
bool operator()( const ScDPSaveGroupDimension& rGroupDim ) const { return rGroupDim.GetGroupDimName() == maDimName; }
};
struct ScDPSaveGroupSourceNameFunc
{
- OUString maSrcDimName;
+ OUString const maSrcDimName;
explicit ScDPSaveGroupSourceNameFunc( const OUString& rSrcDimName ) : maSrcDimName( rSrcDimName ) {}
bool operator()( const ScDPSaveGroupDimension& rGroupDim ) const { return rGroupDim.GetSourceDimName() == maSrcDimName; }
};