summaryrefslogtreecommitdiff
path: root/editeng/source/rtf/rtfgrf.cxx
diff options
context:
space:
mode:
authorKenneth Venken <kenneth.venken@gmail.com>2011-01-25 18:39:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-01-26 20:25:52 +0000
commit0e4b710053d306488202a166764857206a6cc075 (patch)
treedebabec6dfaec1778decd4a39ba91ec0f9310fd3 /editeng/source/rtf/rtfgrf.cxx
parent673c7d0d483a07b2580852e58a15905d85c17ae8 (diff)
Cpp cleanliness: redundant assignment to self
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 6838896055..46201c5cc7 100644
--- a/editeng/source/rtf/rtfgrf.cxx
+++ b/editeng/source/rtf/rtfgrf.cxx
@@ -424,7 +424,6 @@ BOOL SvxRTFParser::ReadBmpData( Graphic& rGrf, SvxRTFPictureType& rPicType )
if (rPicType.uPicLen)
{
ULONG nPos = rStrm.Tell();
- nPos = nPos;
rStrm.SeekRel(-1);
sal_uInt8 aData[4096];
ULONG nSize = sizeof(aData);
@@ -441,7 +440,6 @@ BOOL SvxRTFParser::ReadBmpData( Graphic& rGrf, SvxRTFPictureType& rPicType )
nNextCh = GetNextChar();
bValidBmp = !pTmpFile->GetError();
nPos = rStrm.Tell();
- nPos = nPos;
}
break;
case RTF_PICSCALEX: rPicType.nScalX = nVal; break;