diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-02-22 16:05:47 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-22 16:06:56 +0000 |
commit | 0389b77a3cbea09ddbae238d7934d4c6349a8d37 (patch) | |
tree | aea55f6dfa4d332b250842b635e7b334bc844076 /sw | |
parent | Disable problematic reading of external entities in raptor (diff) | |
download | core-0389b77a3cbea09ddbae238d7934d4c6349a8d37.tar.gz core-0389b77a3cbea09ddbae238d7934d4c6349a8d37.zip |
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.
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/xml/xmltexte.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx index c62bce3f9c36..5c8994411c8f 100644 --- a/sw/source/filter/xml/xmltexte.cxx +++ b/sw/source/filter/xml/xmltexte.cxx @@ -221,7 +221,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 |