summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-26 20:27:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-26 20:27:58 +0000
commit20d8d502cee927cc8c5db8abf647ae6866db9c7c (patch)
tree72ee30c411c14462af42cbd7a75d839a679a0f86
parent0e4b710053d306488202a166764857206a6cc075 (diff)
WaE: nPos not used for anything
-rw-r--r--editeng/source/rtf/rtfgrf.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/editeng/source/rtf/rtfgrf.cxx b/editeng/source/rtf/rtfgrf.cxx
index 46201c5cc7..d7a30707c8 100644
--- a/editeng/source/rtf/rtfgrf.cxx
+++ b/editeng/source/rtf/rtfgrf.cxx
@@ -423,7 +423,6 @@ BOOL SvxRTFParser::ReadBmpData( Graphic& rGrf, SvxRTFPictureType& rPicType )
rPicType.uPicLen = nTokenValue;
if (rPicType.uPicLen)
{
- ULONG nPos = rStrm.Tell();
rStrm.SeekRel(-1);
sal_uInt8 aData[4096];
ULONG nSize = sizeof(aData);
@@ -439,7 +438,6 @@ BOOL SvxRTFParser::ReadBmpData( Graphic& rGrf, SvxRTFPictureType& rPicType )
}
nNextCh = GetNextChar();
bValidBmp = !pTmpFile->GetError();
- nPos = rStrm.Tell();
}
break;
case RTF_PICSCALEX: rPicType.nScalX = nVal; break;