summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-02-22 16:05:47 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-02-22 16:06:56 +0000
commit0389b77a3cbea09ddbae238d7934d4c6349a8d37 (patch)
treeaea55f6dfa4d332b250842b635e7b334bc844076
parentcef1ba2d58cb8a6928055b322c88a79b5b5c0ad4 (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.
-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 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