summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-26 14:51:16 +0100
committerPetr Mladek <pmladek@suse.cz>2012-11-05 19:52:42 +0100
commit0f6f5d2082462d21b12657cadd0f33011d179575 (patch)
tree848940e699cf72a736f27a242a06ed18ef0e4f05
parent74fab32e6fa12aadd16dd679c5f5c0fe81d79e02 (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 cce3dca83007..52a5d0c6a3a7 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 :