summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-02-22 16:05:47 +0000
committerPetr Mladek <pmladek@suse.cz>2012-02-22 17:40:16 +0100
commit8a8eb870b8037801f81c680441d10a1ef95bfb06 (patch)
treed2030d327fefe10275b036d7063d3555a3d698dc
parent5aaf0c9cc458f4e4bd6026f54b8251ed7b89bb54 (diff)
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@redhat.com>
-rw-r--r--sw/source/filter/xml/xmltexte.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index c49ec0d48f68..1610a717bd66 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