This is the variant of an array with no point-type bytes, but by default EMFPPath::Read consumed trailing bytes as point types. EMFPPath already has a way to set that the points are a plain EmfPlusPointF array with no point-type bytes. So use that. Then the GetRawPointsPolygon workaround is no longer needed. Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I0cfb9730efd2e9b638da9b2dc5118e4f05293fed Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/9133 Tested-by: Jenkins CPCI <releng@collaboraoffice.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.com> (cherry picked from commit 14c378ac439cdc0525d3f76509ca59090aa3b253) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209311 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>