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

Caolán McNamara caolanm at redhat.com
Wed Nov 19 03:10:52 PST 2014


 vcl/source/gdi/impgraph.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 137886bb081c4d0e12677f2d8de96a9bf4ddad16
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 19 11:08:54 2014 +0000

    WaE: -Werror=unused-but-set-variable
    
    Change-Id: If55fe92af710221000ccec4e09eeba9f56c8a7aa

diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index 4b3dc17..27bd0b9 100644
--- a/vcl/source/gdi/impgraph.cxx
+++ b/vcl/source/gdi/impgraph.cxx
@@ -973,9 +973,7 @@ bool ImpGraphic::ImplReadEmbedded( SvStream& rIStm )
 {
     MapMode         aMapMode;
     Size            aSize;
-    const sal_uLong     nStartPos = rIStm.Tell();
     sal_uInt32      nId;
-    sal_uLong           nHeaderLen;
     sal_Int32       nType;
     sal_Int32       nLen;
     const sal_uInt16    nOldFormat = rIStm.GetNumberFormatInt();
@@ -1032,7 +1030,6 @@ bool ImpGraphic::ImplReadEmbedded( SvStream& rIStm )
                             Fraction( nScaleNumY, nScaleDenomY ) );
     }
 
-    nHeaderLen = rIStm.Tell() - nStartPos;
     meType = (GraphicType) nType;
 
     if( meType )


More information about the Libreoffice-commits mailing list