diff options
Diffstat (limited to 'sal/textenc')
-rw-r--r-- | sal/textenc/tcvtutf7.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/textenc/tcvtutf7.cxx b/sal/textenc/tcvtutf7.cxx index f9cae77633da..ab798d8b1ecb 100644 --- a/sal/textenc/tcvtutf7.cxx +++ b/sal/textenc/tcvtutf7.cxx @@ -275,7 +275,7 @@ sal_Size ImplUTF7ToUnicode( SAL_UNUSED_PARAMETER const void*, void* pContext, while ( (pDestBuf < pEndDestBuf) && (nBufferBits >= 16) ) { nBitBufferTemp = nBitBuffer >> (32-16); - *pDestBuf = (sal_Unicode)((nBitBufferTemp) & 0xFFFF); + *pDestBuf = (sal_Unicode)(nBitBufferTemp & 0xFFFF); pDestBuf++; nBitBuffer <<= 16; nBufferBits -= 16; |