summaryrefslogtreecommitdiffstats
path: root/emfio/source/reader
diff options
context:
space:
mode:
authorParis Oplopoios <paris.oplopoios@collabora.com>2022-11-04 12:52:27 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-11-08 15:48:53 +0100
commit1230b88055c7389d2c376c316f91549e4aaef8aa (patch)
treeaad2c21c7adb6abfb01672279792f4ffff744422 /emfio/source/reader
parentUpdate iOS SDK Current Version to 16.1 (diff)
downloadcore-1230b88055c7389d2c376c316f91549e4aaef8aa.tar.gz
core-1230b88055c7389d2c376c316f91549e4aaef8aa.zip
Make EMR_SAVEDC not UpdateClipRegion
EMR_SAVEDC would call UpdateClipRegion which would break the clip region sometimes before drawing the text causing it to not be clipped This line was introduced in a i#964 related patch (https://bz.apache.org/ooo/show_bug.cgi?id=964) The document in that test seems to render the same and the test file from the changed test renders the same also before and after this patch Change-Id: Id515b90efc9e533e18a35030a9a677de4d4ea02d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142272 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'emfio/source/reader')
-rw-r--r--emfio/source/reader/mtftools.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index b6e225bfd97c..02643b202ef8 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -2366,7 +2366,6 @@ namespace emfio
void MtfTools::Push() // !! to be able to access the original ClipRegion it
{ // is not allowed to use the MetaPushAction()
- UpdateClipRegion(); // (the original clip region is on top of the stack) (SJ)
auto pSave = std::make_shared<SaveStruct>();
pSave->aLineStyle = maLineStyle;