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 1bd303a4c3
Change-Id: I01ba4272aaa665a2fb0ab7ce9c05bb882db77d3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88878
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
committed by
Noel Grandin
parent
72a910dfc8
commit
2cdab992c6
@@ -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());
|
||||
|
Reference in New Issue
Block a user