diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-20 11:31:42 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-20 11:34:26 -0500 |
commit | 49a3f0c43e8f0ad236445a374b9524634645f824 (patch) | |
tree | fdb9449380d390e3b3aa828e65a09aa350ac8933 /sc/inc/document.hxx | |
parent | c3a9a9542b018f781ee12e6c8c943d4f19641afe (diff) |
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.hxx | 2 |
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(); |