diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-09 10:20:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-09 10:44:22 +0100 |
commit | 1612a8e87b102e435c87240d8374962ee1dc5579 (patch) | |
tree | 5090c616938eaf9c453a8b9184d34e47d945c1bc /sal/textenc | |
parent | fb4b9fe3d86baaaae6c6980cfa2cf723c41614be (diff) |
coverity#1209362 coverity gold, wrong mask
Change-Id: I039563908a391103cc478e11666648cc517fc677
Diffstat (limited to 'sal/textenc')
-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 7ff7bd0924a9..164369fb3218 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; |