[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sw/source

Petr Mladek pmladek at kemper.freedesktop.org
Wed Feb 22 08:40:51 PST 2012


 sw/source/filter/xml/xmltexte.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 8a8eb870b8037801f81c680441d10a1ef95bfb06
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Wed Feb 22 16:05:47 2012 +0000

    fdo#33393 - tentative workaround for autosave image loss
    
    cf. lengthy analysis in the bug, this appears to merit wider testing
    for 3.5.1 RC1 and wouldn't be sensible without that, so commit early.
    
    Signed-off-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index c49ec0d..1610a71 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -227,7 +227,9 @@ void SwXMLTextParagraphExport::setTextEmbeddedGraphicURL(
     {
         String aNewURL( RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.Package:") );
         aNewURL += String(rURL);
-        pGrfNd->SetNewStreamName( aNewURL );
+
+// This is nonsensical.
+//        pGrfNd->SetNewStreamName( aNewURL );
 
         // #i15411# save-as will swap all graphics in; we need to swap
         // them out again, to prevent excessive memory use


More information about the Libreoffice-commits mailing list