summaryrefslogtreecommitdiff
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorDaniel Bankston <daniel.e.bankston@gmail.com>2012-07-05 18:15:45 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-07-11 20:37:39 -0400
commitf107e3a5f7cc19957435f1e90617105509394b4d (patch)
treeeff9b1405b9b21bfad9fdc74ac04cc9fb9aeab27 /sc/inc/document.hxx
parent1cdfb19c2202b56e4de6f10104bb4841372956cb (diff)
Use cached formula results instead of recalculating
This commit undoes some of previous commit in attempt to be less "hackish". -When importing LibreOffice generated ODS documents, use cached formula results instead of always recalcuating. -For other generators, do hard-recalc. Still need to: -Stop matrix formula cells from being set dirty to avoid recalculating them. -Implement special cases for functions that should always be recalculated. Change-Id: I959872aa2f446b80f9204ee26e94de7140f1f6f9
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index b5119e14da7a..72d5168bbc32 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -366,7 +366,6 @@ private:
bool bInsertingFromOtherDoc;
bool bLoadingMedium;
bool bImportingXML; // special handling of formula text
- bool bImportingLiboGenDoc; //to avoid recalculating formula results of libo generated docs
bool bXMLFromWrapper; // distinguish ScXMLImportWrapper from external component
bool bCalcingAfterLoad; // in CalcAfterLoad TRUE
// don't construct/destruct listeners temporarily
@@ -1560,8 +1559,6 @@ public:
void SetLoadingMedium( bool bVal );
void SetImportingXML( bool bVal );
bool IsImportingXML() const { return bImportingXML; }
- void SetImportingLiboGenDoc( bool bVal ) { bImportingLiboGenDoc = bVal; };
- bool IsImportingLiboGenDoc() const { return bImportingLiboGenDoc; }
void SetXMLFromWrapper( bool bVal );
bool IsXMLFromWrapper() const { return bXMLFromWrapper; }
void SetCalcingAfterLoad( bool bVal ) { bCalcingAfterLoad = bVal; }