[Libreoffice-commits] .: sc/inc sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Tue Feb 15 13:51:35 PST 2011
sc/inc/table.hxx | 4 ++--
sc/source/core/data/table3.cxx | 9 +++++++++
2 files changed, 11 insertions(+), 2 deletions(-)
New commits:
commit fc405021aacb7f3e371031bdd1ba89b2957b8abc
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Tue Feb 15 16:51:03 2011 -0500
Let's hide these definitions from the header, for easier debugging.
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 2f03fca..25d423a 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -784,8 +784,8 @@ public:
void FindConditionalFormat( ULONG nKey, ScRangeList& rRanges );
- void IncRecalcLevel() { ++nRecalcLvl; }
- void DecRecalcLevel( bool bUpdateNoteCaptionPos = true ) { if (!--nRecalcLvl) SetDrawPageSize(true, bUpdateNoteCaptionPos); }
+ void IncRecalcLevel();
+ void DecRecalcLevel( bool bUpdateNoteCaptionPos = true );
BOOL IsSortCollatorGlobal() const;
void InitSortCollator( const ScSortParam& rPar );
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 86fc652..cfb62b7 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -2108,7 +2108,16 @@ void ScTable::FindConditionalFormat( ULONG nKey, ScRangeList& rList )
}
}
+void ScTable::IncRecalcLevel()
+{
+ ++nRecalcLvl;
+}
+void ScTable::DecRecalcLevel(bool bUpdateNoteCaptionPos)
+{
+ if (!--nRecalcLvl)
+ SetDrawPageSize(true, bUpdateNoteCaptionPos);
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list