summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table3.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-01 14:41:51 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-01 16:30:04 -0400
commitb10833d4db6046f2d32ea44a60cb19a626d80447 (patch)
treeb042decf3f1dbec270bf9c2758564da1aa1c3f05 /sc/source/core/data/table3.cxx
parentcf0a88962f5c7835d417fb272e4792fb921139af (diff)
No more "increase / decrease of recalc level" for drawing objects.
That scheme made it extremely hard to determine when the object's positions get recalculated. It's better to figure out when to recalc drawing objects' positions, and call SetDrawPageSize() manually at that point (and only once!) Change-Id: I05d9b693cfc9310f5472ed8287c7a2e36646f4d7
Diffstat (limited to 'sc/source/core/data/table3.cxx')
-rw-r--r--sc/source/core/data/table3.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 8058e0a8d3c9..d84fe1fc552d 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -2306,16 +2306,4 @@ void ScTable::UpdateSelectionFunction( ScFunctionData& rData,
aCol[nCol].UpdateAreaFunction( rData, *mpHiddenRows, nStartRow, nEndRow );
}
-void ScTable::IncRecalcLevel()
-{
- ++nRecalcLvl;
-}
-
-void ScTable::DecRecalcLevel(bool bUpdateNoteCaptionPos)
-{
- if (!--nRecalcLvl)
- SetDrawPageSize(true, bUpdateNoteCaptionPos);
-}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */