diff options
Diffstat (limited to 'sal/textenc/handleundefinedunicodetotextchar.cxx')
-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; |