summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2013-12-26 18:57:28 +0000
committerAndrzej Hunt <andrzej.hunt@collabora.com>2013-12-26 20:26:12 +0000
commitd8dedc775cedf0e9daf9284bc7e3a0331ccd2963 (patch)
treeef9a20b7c16e81b6462e68c53f0663392371a002 /cppcanvas
parent7cde57180a21868dcd2f955d74c463c54d777089 (diff)
EMF+: Integer coordinate values are signed.
Change-Id: I5babcec50d48dc2a6288a01685db61fbb7058680
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index b5b628501092..3d1e3ec2bd67 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -167,8 +167,8 @@ namespace cppcanvas
{
for (int i = 0; i < nPoints; i ++) {
if (pathFlags & 0x4000) {
- // points are stored in short 16bit integer format
- sal_uInt16 x, y;
+ // points are stored in signed short 16bit integer format
+ sal_Int16 x, y;
s >> x >> y;
SAL_INFO ("cppcanvas.emf", "EMF+\tpoint [x,y]: " << x << "," << y);