diff options
Diffstat (limited to 'sal/textenc/convertsinglebytetobmpunicode.cxx')
-rw-r--r-- | sal/textenc/convertsinglebytetobmpunicode.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/textenc/convertsinglebytetobmpunicode.cxx b/sal/textenc/convertsinglebytetobmpunicode.cxx index 9bb994d2a9c8..5890a9dc8220 100644 --- a/sal/textenc/convertsinglebytetobmpunicode.cxx +++ b/sal/textenc/convertsinglebytetobmpunicode.cxx @@ -42,7 +42,6 @@ sal_Size rtl_textenc_convertSingleByteToBmpUnicode( sal_Unicode * destBufPtr = destBuf; sal_Unicode * destBufEnd = destBuf + destChars; for (; converted < srcBytes; ++converted) { - bool undefined = true; sal_Char b = *srcBuf++; sal_Unicode c = map[static_cast< sal_uInt8 >(b)]; if (c == 0xFFFF) { @@ -55,7 +54,7 @@ sal_Size rtl_textenc_convertSingleByteToBmpUnicode( continue; bad_input: switch (sal::detail::textenc::handleBadInputTextToUnicodeConversion( - undefined, false, b, flags, &destBufPtr, destBufEnd, + true/*undefined*/, false, b, flags, &destBufPtr, destBufEnd, &infoFlags)) { case sal::detail::textenc::BAD_INPUT_STOP: |