summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-02 17:02:21 +0200
committerTor Lillqvist <tml@iki.fi>2012-03-02 18:43:39 +0200
commit75902119c17f224c9387092b1e9c776419dfcde4 (patch)
tree11eb99f06b044e0d01eb24bdd42dd4fb7246c195 /sc
parent81a74d404f42c13cf7dc5cc63b366cdb4ffe8282 (diff)
WaE: explicitly assigning a variable to itself
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xestream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index 5d064f3378b7..5230ab895c98 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -659,11 +659,11 @@ void XclExpBiff8Encrypter::EncryptBytes( SvStream& rStrm, vector<sal_uInt8>& aBy
bool bRet = maCodec.Encode(&aBytes[nPos], nEncBytes, &aBytes[nPos], nEncBytes);
OSL_ENSURE(bRet, "XclExpBiff8Encrypter::EncryptBytes: encryption failed!!");
- bRet = bRet; // to remove a silly compiler warning.
+ (void) bRet; // to remove a silly compiler warning.
sal_Size nRet = rStrm.Write(&aBytes[nPos], nEncBytes);
OSL_ENSURE(nRet == nEncBytes, "XclExpBiff8Encrypter::EncryptBytes: fail to write to stream!!");
- nRet = nRet; // to remove a silly compiler warning.
+ (void) nRet; // to remove a silly compiler warning.
nStrmPos = rStrm.Tell();
nBlockOffset = GetOffsetInBlock(nStrmPos);