diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-26 14:51:16 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-10-26 19:19:14 +0200 |
commit | ef7f951cc3326f64a9e3e856bd90824c96496ff6 (patch) | |
tree | 76f1f3360960d37a6a30a083f91e58dcca42f2ec | |
parent | f3820602b6f8d22ad4177cbd4e51b4153087986d (diff) |
Resolves: fdo#47291 polypoly[line|gon] points are signed
regression from f6a34255af1339cd7132b7527dc0c10c10d38249
Change-Id: Iabfaf92629cd4d53ab7af5f3e3013eb81bb8104d
(cherry picked from commit 2536fae7b8565b5dd9f09bb3dc015576fafe4031)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | svtools/source/filter/wmf/enhwmf.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/filter/wmf/enhwmf.cxx b/svtools/source/filter/wmf/enhwmf.cxx index 97f1d5cc631c..4a665ca7e9a5 100644 --- a/svtools/source/filter/wmf/enhwmf.cxx +++ b/svtools/source/filter/wmf/enhwmf.cxx @@ -522,11 +522,11 @@ sal_Bool EnhWMFReader::ReadEnhWMF() break; case EMR_POLYPOLYLINE : - ReadAndDrawPolyLine<sal_uInt32>(); + ReadAndDrawPolyLine<sal_Int32>(); break; case EMR_POLYPOLYGON : - ReadAndDrawPolyPolygon<sal_uInt32>(); + ReadAndDrawPolyPolygon<sal_Int32>(); break; case EMR_SETWINDOWEXTEX : @@ -1210,11 +1210,11 @@ sal_Bool EnhWMFReader::ReadEnhWMF() break; case EMR_POLYPOLYLINE16 : - ReadAndDrawPolyLine<sal_uInt16>(); + ReadAndDrawPolyLine<sal_Int16>(); break; case EMR_POLYPOLYGON16 : - ReadAndDrawPolyPolygon<sal_uInt16>(); + ReadAndDrawPolyPolygon<sal_Int16>(); break; case EMR_FILLRGN : |