[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Dec 22 05:24:09 PST 2012


 sc/source/filter/excel/xiescher.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit bb97ecdbcc8d8dafd39e728b21bc68efee4eccbc
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Dec 22 14:19:38 2012 +0100

    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

diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index d8c79f2..33036c0 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& )
         {


More information about the Libreoffice-commits mailing list