[Libreoffice-commits] core.git: Branch 'feature/pivot-table-result-tree' - sc/inc sc/source
Kohei Yoshida
kohei.yoshida at gmail.com
Thu Apr 18 19:03:05 PDT 2013
sc/inc/dpsave.hxx | 2 +-
sc/source/core/data/dpsave.cxx | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit f1d79c27b426a73370798ab79fafb471e93037d6
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Thu Apr 18 22:03:30 2013 -0400
This should be plural, since there are multiple dimensions.
Change-Id: If0994c81867606e0e6c097aeda0f0bd889e01553
diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx
index 770349f..9cd0022 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 c6e369a..4572622 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();
}
More information about the Libreoffice-commits
mailing list