diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-01-06 15:00:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-01-06 15:00:44 +0100 |
commit | 01690f571db071781a2358bcc15581a6fa9dd86c (patch) | |
tree | a6dd6ea602512e4d7be1abb0e78b6d218de585b0 /sal/textenc/convertsimple.cxx | |
parent | 353bed10cf7d41881654b82b0a833da8dff36a69 (diff) |
Final disentanglement between sal and sal_textenc.
Diffstat (limited to 'sal/textenc/convertsimple.cxx')
-rw-r--r-- | sal/textenc/convertsimple.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sal/textenc/convertsimple.cxx b/sal/textenc/convertsimple.cxx index 24a4ad6b7662..939aaa3e18d2 100644 --- a/sal/textenc/convertsimple.cxx +++ b/sal/textenc/convertsimple.cxx @@ -33,6 +33,7 @@ #include "sal/types.h" #include "convertsimple.hxx" +#include "handleundefinedunicodetotextchar.hxx" #include "tenchelp.hxx" #define IMPL_MAX_REPLACECHAR 5 @@ -657,13 +658,9 @@ sal_Size sal::detail::textenc::convertUnicodeToChar( /* (all surrogates characters are undefined) */ if ( n == 0 ) { - if (ImplHandleUndefinedUnicodeToTextChar(pData, - &pSrcBuf, - pEndSrcBuf, - &pDestBuf, - pEndDestBuf, - nFlags, - pInfo)) + if (sal::detail::textenc::handleUndefinedUnicodeToTextChar( + &pSrcBuf, pEndSrcBuf, &pDestBuf, pEndDestBuf, + nFlags, pInfo)) continue; else break; |