summaryrefslogtreecommitdiff
path: root/sal/textenc/tcvtbyte.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-06 15:00:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-06 15:00:44 +0100
commit01690f571db071781a2358bcc15581a6fa9dd86c (patch)
treea6dd6ea602512e4d7be1abb0e78b6d218de585b0 /sal/textenc/tcvtbyte.cxx
parent353bed10cf7d41881654b82b0a833da8dff36a69 (diff)
Final disentanglement between sal and sal_textenc.
Diffstat (limited to 'sal/textenc/tcvtbyte.cxx')
-rw-r--r--sal/textenc/tcvtbyte.cxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/sal/textenc/tcvtbyte.cxx b/sal/textenc/tcvtbyte.cxx
index b8d78c5e757f..4861daf4aea1 100644
--- a/sal/textenc/tcvtbyte.cxx
+++ b/sal/textenc/tcvtbyte.cxx
@@ -30,6 +30,7 @@
#include "rtl/textcvt.h"
+#include "handleundefinedunicodetotextchar.hxx"
#include "tcvtbyte.hxx"
#include "tenchelp.hxx"
@@ -69,7 +70,7 @@ sal_Size ImplSymbolToUnicode( const void*,
return (nDestChars - (pEndDestBuf-pDestBuf));
}
-sal_Size ImplUnicodeToSymbol( const void* pData,
+sal_Size ImplUnicodeToSymbol( const void*,
void*,
const sal_Unicode* pSrcBuf, sal_Size nSrcChars,
char* pDestBuf, sal_Size nDestBytes,
@@ -117,13 +118,9 @@ sal_Size ImplUnicodeToSymbol( const void* pData,
/* Handle undefined and surrogates characters */
/* (all surrogates characters are undefined) */
- if (!ImplHandleUndefinedUnicodeToTextChar(pData,
- &pSrcBuf,
- pEndSrcBuf,
- &pDestBuf,
- pEndDestBuf,
- nFlags,
- pInfo))
+ if (!sal::detail::textenc::handleUndefinedUnicodeToTextChar(
+ &pSrcBuf, pEndSrcBuf, &pDestBuf, pEndDestBuf, nFlags,
+ pInfo))
break;
}
}