[Libreoffice-commits] .: sc/inc sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Tue Nov 15 12:21:02 PST 2011
sc/inc/cell.hxx | 4 ++--
sc/source/core/data/cell2.cxx | 10 ++++++++++
2 files changed, 12 insertions(+), 2 deletions(-)
New commits:
commit 87be97a31d8686e3e6e976bb5585b32c096ca19d
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date: Tue Nov 15 15:20:13 2011 -0500
Make these two methods non-inline.
diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx
index 875e7da..58a16b8 100644
--- a/sc/inc/cell.hxx
+++ b/sc/inc/cell.hxx
@@ -458,8 +458,8 @@ public:
void FindRangeNamesInUse(std::set<sal_uInt16>& rIndexes) const;
void ReplaceRangeNamesInUse( const ScRangeData::IndexMap& rMap );
bool IsSubTotal() const { return bSubTotal; }
- bool IsChanged() const { return bChanged; }
- void ResetChanged() { bChanged = false; }
+ bool IsChanged() const;
+ void ResetChanged();
bool IsEmpty(); // formula::svEmptyCell result
// display as empty string if formula::svEmptyCell result
bool IsEmptyDisplayedAsString();
diff --git a/sc/source/core/data/cell2.cxx b/sc/source/core/data/cell2.cxx
index 9733c8a..d23940c 100644
--- a/sc/source/core/data/cell2.cxx
+++ b/sc/source/core/data/cell2.cxx
@@ -1603,6 +1603,16 @@ void ScFormulaCell::ReplaceRangeNamesInUse( const ScRangeData::IndexMap& rMap )
CompileTokenArray();
}
+bool ScFormulaCell::IsChanged() const
+{
+ return bChanged;
+}
+
+void ScFormulaCell::ResetChanged()
+{
+ bChanged = false;
+}
+
void ScFormulaCell::CompileDBFormula()
{
for( FormulaToken* p = pCode->First(); p; p = pCode->Next() )
More information about the Libreoffice-commits
mailing list