summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-04-18 22:03:30 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-04-19 00:30:11 -0400
commitc5be9ffb731952ecbc037ef036e1fcdb385d9572 (patch)
tree50125e2359c61516503758e644534e848e6e2ced /sc
parent77c84dd59f438c10d559393e9cc7b63551529203 (diff)
This should be plural, since there are multiple dimensions.
Change-Id: If0994c81867606e0e6c097aeda0f0bd889e01553
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/dpsave.hxx2
-rw-r--r--sc/source/core/data/dpsave.cxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx
index 770349ff5ce9..9cd00225e8cb 100644
--- a/sc/inc/dpsave.hxx
+++ b/sc/inc/dpsave.hxx
@@ -368,7 +368,7 @@ private:
*/
ScDPSaveDimension* AppendNewDimension(const OUString& rName, bool bDataLayout);
- void DimensionChanged();
+ void DimensionsChanged();
};
#endif
diff --git a/sc/source/core/data/dpsave.cxx b/sc/source/core/data/dpsave.cxx
index c6e369ae1e46..457262296641 100644
--- a/sc/source/core/data/dpsave.cxx
+++ b/sc/source/core/data/dpsave.cxx
@@ -859,7 +859,7 @@ void ScDPSaveData::AddDimension(ScDPSaveDimension* pDim)
CheckDuplicateName(*pDim);
aDimList.push_back(pDim);
- DimensionChanged();
+ DimensionsChanged();
}
ScDPSaveDimension* ScDPSaveData::GetDimensionByName(const OUString& rName)
@@ -940,7 +940,7 @@ void ScDPSaveData::RemoveDimensionByName(const OUString& rName)
aDimList.erase(iter);
RemoveDuplicateNameCount(rName);
- DimensionChanged();
+ DimensionsChanged();
return;
}
}
@@ -1021,7 +1021,7 @@ void ScDPSaveData::SetPosition( ScDPSaveDimension* pDim, long nNew )
}
aDimList.insert(iterInsert,pDim);
- DimensionChanged();
+ DimensionsChanged();
}
void ScDPSaveData::SetColumnGrand(bool bSet)
@@ -1399,11 +1399,11 @@ ScDPSaveDimension* ScDPSaveData::AppendNewDimension(const OUString& rName, bool
if (!maDupNameCounts.count(rName))
maDupNameCounts.insert(DupNameCountType::value_type(rName, 0));
- DimensionChanged();
+ DimensionsChanged();
return pNew;
}
-void ScDPSaveData::DimensionChanged()
+void ScDPSaveData::DimensionsChanged()
{
mpDimOrder.reset();
}