summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-26 14:51:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-26 14:52:33 +0100
commit2536fae7b8565b5dd9f09bb3dc015576fafe4031 (patch)
treed02fd3ab3e579cfad899e864e013272dadbfadaa /svtools
parentdbd0e001d83e3198c3ad4ec202a00577b608b3a4 (diff)
Resolves: fdo#47291 polypoly[line|gon] points are signed
regression from f6a34255af1339cd7132b7527dc0c10c10d38249 Change-Id: Iabfaf92629cd4d53ab7af5f3e3013eb81bb8104d
Diffstat (limited to 'svtools')
-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 72ea16de8b92..688780b964e6 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 :
@@ -1205,11 +1205,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 :