diff options
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r-- | sc/inc/document.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index fcd09a1214de..ad371bd73cd8 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -353,9 +353,11 @@ private: rtl::Reference<ScPoolHelper> mxPoolHelper; std::shared_ptr<svl::SharedStringPool> mpCellStringPool; - std::shared_ptr<sc::FormulaGroupContext> mpFormulaGroupCxt; std::unique_ptr<sc::DocumentLinkManager> mpDocLinkMgr; + std::shared_ptr<sc::FormulaGroupContext> mpFormulaGroupCxt; + bool mbFormulaGroupCxtBlockDiscard; + ScCalcConfig maCalcConfig; SfxUndoManager* mpUndoManager; @@ -1118,6 +1120,9 @@ public: svl::SharedString GetSharedString( const ScAddress& rPos ) const; std::shared_ptr<sc::FormulaGroupContext>& GetFormulaGroupContext(); + void DiscardFormulaGroupContext(); + void BlockFormulaGroupContextDiscard( bool block ) + { mbFormulaGroupCxtBlockDiscard = block; } SC_DLLPUBLIC void GetInputString( SCCOL nCol, SCROW nRow, SCTAB nTab, OUString& rString ); FormulaError GetStringForFormula( const ScAddress& rPos, OUString& rString ); |