summaryrefslogtreecommitdiff
path: root/editeng/source/rtf/rtfgrf.cxx
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
commit998e7286f7dd8424b6185c72c52a0b9540e53a09 (patch)
treefde62e6e1df4bca4c7d10eb47a85e8547de00ab3 /editeng/source/rtf/rtfgrf.cxx
parent2e2cb4bbe2337b91b9b05b9dcc3b528161e59d73 (diff)
WaE: nPos not used for anything
Diffstat (limited to 'editeng/source/rtf/rtfgrf.cxx')
-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 3aa27f746b54..7086ac09f061 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;