summaryrefslogtreecommitdiff
path: root/sc/inc
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/inc
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/inc')
-rw-r--r--sc/inc/document.hxx3
-rw-r--r--sc/inc/table.hxx4
2 files changed, 0 insertions, 7 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 390002e98664..f114ecb32365 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1718,9 +1718,6 @@ public:
void SetExpandRefs( bool bVal ) { bExpandRefs = bVal; }
bool IsExpandRefs() { return bExpandRefs; }
- SC_DLLPUBLIC void IncSizeRecalcLevel( SCTAB nTab );
- SC_DLLPUBLIC void DecSizeRecalcLevel( SCTAB nTab, bool bUpdateNoteCaptionPos = true );
-
sal_uLong GetXMLImportedFormulaCount() const { return nXMLImportedFormulaCount; }
void IncXMLImportedFormulaCount( sal_uLong nVal )
{
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index c630cb743574..39c99f16b1eb 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -142,7 +142,6 @@ private:
mutable SCROW nTableAreaY;
SCTAB nTab;
- sal_uInt16 nRecalcLvl; // recursion level Size-Recalc
ScDocument* pDocument;
utl::TextSearch* pSearchText;
@@ -779,9 +778,6 @@ public:
SCCOL nCol,
SCROW nRowStart, SCROW nRowEnd ) const;
- void IncRecalcLevel();
- void DecRecalcLevel( bool bUpdateNoteCaptionPos = true );
-
bool IsSortCollatorGlobal() const;
void InitSortCollator( const ScSortParam& rPar );
void DestroySortCollator();