diff options
-rw-r--r-- | sc/inc/table.hxx | 4 | ||||
-rw-r--r-- | sc/source/core/data/table3.cxx | 9 |
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: */ |