diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-02-17 18:06:20 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-17 20:31:07 +0100 |
commit | 2cdab992c6faeb98a1cbef7615f4cc7ce0d3f04d (patch) | |
tree | bf6f57151d7fdac357fe7ed39969e778278297bc /drawinglayer | |
parent | 72a910dfc8a1d3dc20d31dc5bd635d171dd54002 (diff) |
tdf#129675: This should be EmfPlusPenDataDashedLine
else if (pen->penDataFlags & 0x00000100)
was changed to
else if (pen->penDataFlags & EmfPlusPenDataMiterLimit)
where EmfPlusPenDataMiterLimit = 0x00000010
See https://bugs.documentfoundation.org/show_bug.cgi?id=129675#c20
Regression from 1bd303a4c38a1bc04c3cf7bf0e7a44ac0fdb209d
Change-Id: I01ba4272aaa665a2fb0ab7ce9c05bb882db77d3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88878
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/tools/emfphelperdata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/tools/emfphelperdata.cxx b/drawinglayer/source/tools/emfphelperdata.cxx index 9aba863f318b..936afec29364 100644 --- a/drawinglayer/source/tools/emfphelperdata.cxx +++ b/drawinglayer/source/tools/emfphelperdata.cxx @@ -544,7 +544,7 @@ namespace emfplushelper break; } } - else if (pen->penDataFlags & EmfPlusPenDataMiterLimit) // pen has a custom dash line + else if (pen->penDataFlags & EmfPlusPenDataDashedLine) // pen has a custom dash line { // StrokeAttribute needs a double vector while the pen provides a float vector std::vector<double> aPattern(pen->dashPattern.size()); |