summaryrefslogtreecommitdiff
path: root/sc/source/core/data/documen3.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/documen3.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/documen3.cxx')
-rw-r--r--sc/source/core/data/documen3.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index 54ce14f3a329..600bf607a42d 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -2088,16 +2088,4 @@ void ScDocument::ExtendPrintArea( OutputDevice* pDev, SCTAB nTab,
maTabs[nTab]->ExtendPrintArea( pDev, nStartCol, nStartRow, rEndCol, nEndRow );
}
-void ScDocument::IncSizeRecalcLevel( SCTAB nTab )
-{
- if ( ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()) && maTabs[nTab] )
- maTabs[nTab]->IncRecalcLevel();
-}
-
-void ScDocument::DecSizeRecalcLevel( SCTAB nTab, bool bUpdateNoteCaptionPos )
-{
- if ( ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()) && maTabs[nTab] )
- maTabs[nTab]->DecRecalcLevel( bUpdateNoteCaptionPos );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */