summaryrefslogtreecommitdiff
path: root/unotools/source/misc/fontcvt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/misc/fontcvt.cxx')
-rw-r--r--unotools/source/misc/fontcvt.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx
index d9d80ce2e2de..6a04e7d612a9 100644
--- a/unotools/source/misc/fontcvt.cxx
+++ b/unotools/source/misc/fontcvt.cxx
@@ -1027,6 +1027,8 @@ const char * const aSymbolNames[] =
"Wingdings 3", "MT Extra", "Times New Roman"
};
+namespace {
+
struct SymbolEntry
{
sal_uInt8 cIndex;
@@ -1044,6 +1046,8 @@ public:
struct ExtraTable { sal_Unicode cStar; sal_uInt8 cMS;};
+}
+
ExtraTable const aWingDingsExtraTab[] =
{
{0x25cf, 0x6C}, {0x2714, 0xFC}, {0x2717, 0xFB}, {0x2794, 0xE8},
@@ -1304,8 +1308,12 @@ void ConvertChar::RecodeString( OUString& rStr, sal_Int32 nIndex, sal_Int32 nLen
rStr = aTmpStr.makeStringAndClear();
}
+namespace {
+
struct RecodeTable { const char* pOrgName; ConvertChar aCvt;};
+}
+
static const RecodeTable aStarSymbolRecodeTable[] =
{
// the first two entries must be StarMath and StarBats; do not reorder!