diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-09 10:20:03 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-04-04 20:30:08 +0200 |
commit | b1bede525c68e628456bf8cbe9ecc855d2307612 (patch) | |
tree | 1c1674f29ad01867be188371dc05383f029abfbf | |
parent | 3ec327667e8870d171b9dad448b7f829909d7323 (diff) |
coverity#1209362 coverity gold, wrong mask
Change-Id: I039563908a391103cc478e11666648cc517fc677
-rw-r--r-- | sal/textenc/handleundefinedunicodetotextchar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/textenc/handleundefinedunicodetotextchar.cxx b/sal/textenc/handleundefinedunicodetotextchar.cxx index b92a98118383..5a8ceefaff1a 100644 --- a/sal/textenc/handleundefinedunicodetotextchar.cxx +++ b/sal/textenc/handleundefinedunicodetotextchar.cxx @@ -58,7 +58,7 @@ bool ImplGetInvalidAsciiMultiByte(sal_uInt32 nFlags, { if (nMaxLen == 0) return false; - switch (nFlags & RTL_UNICODETOTEXT_FLAGS_UNDEFINED_MASK) + switch (nFlags & RTL_UNICODETOTEXT_FLAGS_INVALID_MASK) { case RTL_UNICODETOTEXT_FLAGS_INVALID_0: *pBuf = 0x00; |