Kaydet (Commit) 137886bb authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: -Werror=unused-but-set-variable

Change-Id: If55fe92af710221000ccec4e09eeba9f56c8a7aa
üst 36feeb1e
...@@ -973,9 +973,7 @@ bool ImpGraphic::ImplReadEmbedded( SvStream& rIStm ) ...@@ -973,9 +973,7 @@ bool ImpGraphic::ImplReadEmbedded( SvStream& rIStm )
{ {
MapMode aMapMode; MapMode aMapMode;
Size aSize; Size aSize;
const sal_uLong nStartPos = rIStm.Tell();
sal_uInt32 nId; sal_uInt32 nId;
sal_uLong nHeaderLen;
sal_Int32 nType; sal_Int32 nType;
sal_Int32 nLen; sal_Int32 nLen;
const sal_uInt16 nOldFormat = rIStm.GetNumberFormatInt(); const sal_uInt16 nOldFormat = rIStm.GetNumberFormatInt();
...@@ -1032,7 +1030,6 @@ bool ImpGraphic::ImplReadEmbedded( SvStream& rIStm ) ...@@ -1032,7 +1030,6 @@ bool ImpGraphic::ImplReadEmbedded( SvStream& rIStm )
Fraction( nScaleNumY, nScaleDenomY ) ); Fraction( nScaleNumY, nScaleDenomY ) );
} }
nHeaderLen = rIStm.Tell() - nStartPos;
meType = (GraphicType) nType; meType = (GraphicType) nType;
if( meType ) if( meType )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment