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 aPattern(pen->dashPattern.size());