summaryrefslogtreecommitdiff
path: root/sd/source/filter
diff options
context:
space:
mode:
authorTünde Tóth <toth.tunde@nisz.hu>2022-11-24 15:30:37 +0100
committerLászló Németh <nemeth@numbertext.org>2022-11-29 17:37:28 +0100
commit01246f06cfeeb6a1070e82351e2559def4f5d820 (patch)
tree2826f750ba90cfd2c66eabbd453ec4ab75fbd218 /sd/source/filter
parentae132145ff42a95dc24fb124847c04af4b8c8dab (diff)
tdf#152152 DOCX export: fix lost WDP images in artistic effects
Handling of WDP image counter was incorrect if the document contains embedded documents, overwriting WDP images with the other ones. See also commit 55b1d635350cb76ee3e19e90c938eedd38ac3342 "tdf#152153 DOCX export: fix lost images at embedded documents" and commit cf2dc247ff5f726238856e9b46a4926a30430e14 "DOCX export: image deduplication and clean up" and commit b5f6a5cfc517ecd8aa6ba96471d854b07b92ebaa "ooxml: Do not repeat wdp files in artistic effects". Change-Id: Ia26784519f6d514ee8c90c7a91a367feeba140b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143235 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sd/source/filter')
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index b31ea7de9824..a9edd475aeff 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -428,7 +428,6 @@ bool PowerPointExport::importDocument() noexcept
bool PowerPointExport::exportDocument()
{
- DrawingML::ResetCounters();
DrawingML::PushExportGraphics();
maShapeMap.clear();