summaryrefslogtreecommitdiff
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
parent673c7d0d483a07b2580852e58a15905d85c17ae8 (diff)
Cpp cleanliness: redundant assignment to self
-rw-r--r--editeng/source/rtf/rtfgrf.cxx2
-rw-r--r--fpicker/source/win32/filepicker/workbench/Test_fps.cxx3
2 files changed, 1 insertions, 4 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;
diff --git a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
index 8c66df5051..15050061da 100644
--- a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
+++ b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
@@ -196,9 +196,8 @@ void SAL_CALL FilePickerListener::fileSelectionChanged( const ::com::sun::star::
}
}
}
- catch( IllegalArgumentException& ex )
+ catch( IllegalArgumentException& )
{
- ex = ex;
}
}