summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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;