[Libreoffice-commits] core.git: cppcanvas/source

David Tardon dtardon at redhat.com
Fri Mar 15 07:17:18 PDT 2013


 cppcanvas/source/mtfrenderer/emfplus.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 5b6d469612439f4ab7291273a1d3675ebcdf6d8c
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Mar 15 15:16:10 2013 +0100

    WaE: unused variable
    
    Change-Id: I05d9fdd234374924c7876d2c123656495016b0ea

diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 8424597..f8ae8c3 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;
 


More information about the Libreoffice-commits mailing list