Kaydet (Commit) 75902119 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: explicitly assigning a variable to itself

üst 81a74d40
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment