summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-19 11:08:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-19 11:10:25 +0000
commit137886bb081c4d0e12677f2d8de96a9bf4ddad16 (patch)
tree60582911fac68499b0abe71985bea898d1340602 /vcl
parent36feeb1eab0165137087f909698ee208e397cdcf (diff)
WaE: -Werror=unused-but-set-variable
Change-Id: If55fe92af710221000ccec4e09eeba9f56c8a7aa
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/impgraph.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index 4b3dc1742e06..27bd0b97b430 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 )