summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-12-22 14:19:38 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-12-26 04:26:40 +0100
commita027fdb6280bbe2b0e021e3f008f1c689510582c (patch)
treeb62caeebacc7da3cab1e0237714d9d35530cc70c
parent29ffe4813bff7fa1925fad4da6e0ce2a37748dbf (diff)
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
-rw-r--r--sc/source/filter/excel/xiescher.cxx1
1 files changed, 0 insertions, 1 deletions
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& )
{