summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-09 10:20:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-09 10:44:22 +0100
commit1612a8e87b102e435c87240d8374962ee1dc5579 (patch)
tree5090c616938eaf9c453a8b9184d34e47d945c1bc /sal
parentfb4b9fe3d86baaaae6c6980cfa2cf723c41614be (diff)
coverity#1209362 coverity gold, wrong mask
Change-Id: I039563908a391103cc478e11666648cc517fc677
Diffstat (limited to 'sal')
-rw-r--r--sal/textenc/handleundefinedunicodetotextchar.cxx2
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;