summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-26 14:51:16 +0100
committerMichael Stahl <mstahl@redhat.com>2012-10-26 17:56:40 +0200
commit2f6d66b51364f1c34ea3be52187f98f175c3659b (patch)
tree2eb047522a668224c22cba6a8bd0c33ef88ab52d
parent72c09b4e67bad0ecfc99ae6f77c1795f2deb4cda (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.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/filter/wmf/enhwmf.cxx b/svtools/source/filter/wmf/enhwmf.cxx
index b81d973aa9c7..adeea2b5771d 100644
--- a/svtools/source/filter/wmf/enhwmf.cxx
+++ b/svtools/source/filter/wmf/enhwmf.cxx
@@ -517,11 +517,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 :
@@ -1209,11 +1209,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 :