summaryrefslogtreecommitdiff
path: root/sal/textenc/tcvtutf8.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/textenc/tcvtutf8.cxx')
-rw-r--r--sal/textenc/tcvtutf8.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/textenc/tcvtutf8.cxx b/sal/textenc/tcvtutf8.cxx
index 950d810e8b85..ca29156c418f 100644
--- a/sal/textenc/tcvtutf8.cxx
+++ b/sal/textenc/tcvtutf8.cxx
@@ -30,6 +30,8 @@
#include "tenchelp.hxx"
#include "unichars.hxx"
+namespace {
+
struct ImplUtf8ToUnicodeContext
{
sal_uInt32 nUtf32;
@@ -43,6 +45,8 @@ struct ImplUnicodeToUtf8Context
sal_Unicode nHighSurrogate; /* 0xFFFF: write BOM */
};
+}
+
void * ImplCreateUtf8ToUnicodeContext()
{
ImplUtf8ToUnicodeContext * p = new ImplUtf8ToUnicodeContext;