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

Caolán McNamara caolanm at redhat.com
Sun May 12 09:56:17 PDT 2013


 vcl/source/filter/wmf/enhwmf.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fa169ffc3d8d5e3cde41411858cc40546fc04e0e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun May 12 17:55:41 2013 +0100

    WaE: signed/unsigned comparison
    
    Change-Id: I89d6ce71fc463ee8aca34cb3d39afc9d2304f445

diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx
index 5f346b6..560fc9e 100644
--- a/vcl/source/filter/wmf/enhwmf.cxx
+++ b/vcl/source/filter/wmf/enhwmf.cxx
@@ -943,10 +943,10 @@ sal_Bool EnhWMFReader::ReadEnhWMF()
                     sal_Int32 xDest(0), yDest(0), cxDest(0), cyDest(0);
 
                     BLENDFUNCTION aFunc;
-                    sal_Int32 xSrc(0), ySrc(0);
+                    sal_Int32 xSrc(0), ySrc(0), cxSrc(0), cySrc(0);
                     XForm xformSrc;
                     sal_uInt32 BkColorSrc(0), iUsageSrc(0), offBmiSrc(0);
-                    sal_uInt32 cbBmiSrc(0), offBitsSrc(0), cbBitsSrc(0), cxSrc(0), cySrc(0);
+                    sal_uInt32 cbBmiSrc(0), offBitsSrc(0), cbBitsSrc(0);
 
                     sal_uInt32   nStart = pWMF->Tell() - 8;
                     pWMF->SeekRel( 0x10 );


More information about the Libreoffice-commits mailing list