From a027fdb6280bbe2b0e021e3f008f1c689510582c Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 22 Dec 2012 14:19:38 +0100 Subject: storing the chart doc while loading is a bad idea, fdo#57530 There seems to be no obvious reason why we would need to store the chart doc during xls import. The chart test docs don't show any difference without this call. This speeds up xls chart import quite a bit. With the test doc from the bug report I'm able to open the doc nearly instantly now. Change-Id: I0b80462b9d1c405ab1d4cf456e12ebfe4428db98 --- sc/source/filter/excel/xiescher.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index d8c79f2b09bb..33036c043c8a 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -1674,7 +1674,6 @@ void XclImpChartObj::DoPostProcessSdrObj( XclImpDffConverter& rDffConv, SdrObjec Reference< XEmbedPersist > xPersist( xEmbObj, UNO_QUERY_THROW ); Reference< XModel > xModel( xEmbObj->getComponent(), UNO_QUERY_THROW ); mxChart->Convert( xModel, rDffConv, xPersist->getEntryName(), rSdrObj.GetLogicRect() ); - xPersist->storeOwn(); } catch( const Exception& ) { -- cgit v1.2.3