summaryrefslogtreecommitdiffstats
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-20 11:31:42 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-20 11:34:26 -0500
commit49a3f0c43e8f0ad236445a374b9524634645f824 (patch)
treefdb9449380d390e3b3aa828e65a09aa350ac8933 /sc/inc/document.hxx
parentthat's not right anyway, using the Distance as a which-id (diff)
downloadcore-49a3f0c43e8f0ad236445a374b9524634645f824.tar.gz
core-49a3f0c43e8f0ad236445a374b9524634645f824.zip
No need to start listening in CalcAfterLoad for xls import.
We do that prior to it, and in fact, doing it here would unregister all group area listeners and re-register non-group ones, which is massively slower with huge documents. Change-Id: I693f681df05f036eb1aa53554e601066c469f49a
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index d9044739a30b..ee43f2c97b1a 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1016,7 +1016,7 @@ public:
void SetTableOpDirty( const ScRange& ); // for Interpreter TableOp
void InterpretDirtyCells( const ScRangeList& rRanges );
SC_DLLPUBLIC void CalcAll();
- SC_DLLPUBLIC void CalcAfterLoad();
+ SC_DLLPUBLIC void CalcAfterLoad( bool bStartListening = true );
void CompileAll();
void CompileXML();