summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-03-15 15:16:10 +0100
committerDavid Tardon <dtardon@redhat.com>2013-03-15 15:16:46 +0100
commit5b6d469612439f4ab7291273a1d3675ebcdf6d8c (patch)
tree62a05552437b0db6a6e88ee47ef411045e9dd22d /cppcanvas
parentcf6b2f0ecef2c23c24114ca1a1609a4a81ade8a1 (diff)
WaE: unused variable
Change-Id: I05d9fdd234374924c7876d2c123656495016b0ea
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 84245977dcc9..f8ae8c319c0b 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1300,12 +1300,11 @@ namespace cppcanvas
break;
case EmfPlusRecordTypeFillEllipse:
{
- sal_uInt32 index = flags & 0xff;
sal_uInt32 brushIndexOrColor;
rMF >> brushIndexOrColor;
- EMFP_DEBUG (printf ("EMF+ FillEllipse slot: %u\n", (unsigned int)index));
+ EMFP_DEBUG (printf ("EMF+ FillEllipse slot: %u\n", static_cast<unsigned>(flags && 0xff)));
float dx, dy, dw, dh;