diff options
Diffstat (limited to 'sal/textenc')
-rw-r--r-- | sal/textenc/tcvtmb.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/textenc/tcvtmb.cxx b/sal/textenc/tcvtmb.cxx index 4e990cc1e91e..89e89c56c628 100644 --- a/sal/textenc/tcvtmb.cxx +++ b/sal/textenc/tcvtmb.cxx @@ -320,7 +320,7 @@ sal_Size ImplUnicodeToDBCS( const void* pData, SAL_UNUSED_PARAMETER void*, } } - if ( !cConv ) + if (cConv == 0 && c != 0) { if ( nFlags & RTL_UNICODETOTEXT_FLAGS_UNDEFINED_REPLACE ) { |