From 49a3f0c43e8f0ad236445a374b9524634645f824 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 20 Nov 2014 11:31:42 -0500 Subject: 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 --- sc/source/filter/excel/read.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/filter/excel') diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx index 30d50453888e..777088bc593f 100644 --- a/sc/source/filter/excel/read.cxx +++ b/sc/source/filter/excel/read.cxx @@ -752,7 +752,7 @@ FltError ImportExcel::Read( void ) AdjustRowHeight(); PostDocLoad(); - pD->CalcAfterLoad(); + pD->CalcAfterLoad(false); const XclImpAddressConverter& rAddrConv = GetAddressConverter(); if( rAddrConv.IsTabTruncated() ) @@ -1291,7 +1291,7 @@ FltError ImportExcel8::Read( void ) #endif PostDocLoad(); - pD->CalcAfterLoad(); + pD->CalcAfterLoad(false); // import change tracking data XclImpChangeTrack aImpChTr( GetRoot(), maStrm ); -- cgit