summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-10-18 15:06:57 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-11-07 10:45:07 +0100
commitb2503f187341f9a37737f34c7fc6a02d03c2e84e (patch)
tree762b6f7d7dbb9fa4ee6c28830d6eb00430f04416
parent29413c3ae9dfe99048580710f0b1d95c9663d508 (diff)
Remove manual SwapOut() call in ODF export
We have a good auto swapout mechanism which will prevent excessive memory use. Change-Id: I362f51c724ac31704561abe8b961910f5d490f04
-rw-r--r--sw/source/filter/xml/xmltexte.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index 9198d7abb3f7..c830e1df5088 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -207,10 +207,6 @@ void SwXMLTextParagraphExport::setTextEmbeddedGraphicURL(
{
pGrfNd->ApplyNewEmbeddedStreamName("vnd.sun.star.Package:" + rURL);
}
-
- // #i15411# save-as will swap all graphics in; we need to swap
- // them out again, to prevent excessive memory use
- pGrfNd->SwapOut();
}
}