diff options
author | David Tardon <dtardon@redhat.com> | 2013-03-15 15:16:10 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-03-15 15:16:46 +0100 |
commit | 5b6d469612439f4ab7291273a1d3675ebcdf6d8c (patch) | |
tree | 62a05552437b0db6a6e88ee47ef411045e9dd22d /cppcanvas | |
parent | implemented EmfPlusRecordTypeFillEllipse record (diff) | |
download | core-5b6d469612439f4ab7291273a1d3675ebcdf6d8c.tar.gz core-5b6d469612439f4ab7291273a1d3675ebcdf6d8c.zip |
WaE: unused variable
Change-Id: I05d9fdd234374924c7876d2c123656495016b0ea
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/emfplus.cxx | 3 |
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; |