summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-02-15 16:51:03 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-02-15 16:51:03 -0500
commit5267252884a5cea1061b12453e7777a886e12af5 (patch)
tree900307f53ff5716bca1d03b91382c837a9c8066f
parentb5b86329eb0263bb2cccca36d8602bce067ab24a (diff)
Let's hide these definitions from the header, for easier debugging.
-rw-r--r--sc/inc/table.hxx4
-rw-r--r--sc/source/core/data/table3.cxx9
2 files changed, 11 insertions, 2 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 9fd21fe731b1..3b799a7301b5 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 ab1afb10c05c..fae270215090 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: */