summaryrefslogtreecommitdiff
path: root/unotools/source/misc/fontcvt.cxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 22:46:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 03:50:41 -0600
commitd722353b4ba363c452fc86be0fa20cad440c4a47 (patch)
treed8d91e763f2b89f6a2694b2d8529d80f0bc86d8d /unotools/source/misc/fontcvt.cxx
parent003342bfef0812454618f860a6e171c282d92d78 (diff)
Remove visual noise from unotools
Change-Id: I1285c4e47ad381934adc3aea6671e7c95d820c39 Reviewed-on: https://gerrit.libreoffice.org/8334 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'unotools/source/misc/fontcvt.cxx')
-rw-r--r--unotools/source/misc/fontcvt.cxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx
index 277afed3960f..18c64a8963c9 100644
--- a/unotools/source/misc/fontcvt.cxx
+++ b/unotools/source/misc/fontcvt.cxx
@@ -32,7 +32,7 @@
//various holes in OpenSymbol which were filled by StarSymbol, i.e.
//destination mapping points which are empty in OpenSymbol
-//=======================================================================
+
// note: the character mappings that are only approximations
// are marked (with an empty comment)
@@ -110,7 +110,7 @@ static const sal_Unicode aStarBatsTab[224] =
0, 0, 0, 0xE03a
};
-// -----------------------------------------------------------------------
+
static const sal_Unicode aStarMathTab[224] =
{
@@ -186,7 +186,7 @@ static const sal_Unicode aStarMathTab[224] =
0x2124, 0x211a, 0x211d, 0x2102
};
-// -----------------------------------------------------------------------
+
static const sal_Unicode aWingDingsTab[224] =
{
@@ -262,7 +262,7 @@ static const sal_Unicode aWingDingsTab[224] =
0xe4c2, 0xe4c3, 0xe4c4, 0xe4c5
};
-// -----------------------------------------------------------------------
+
static const sal_Unicode aWingDings2Tab[224] =
{
@@ -338,7 +338,7 @@ static const sal_Unicode aWingDings2Tab[224] =
0, 0, 0, 0
};
-// -----------------------------------------------------------------------
+
static const sal_Unicode aWingDings3Tab[224] =
{
@@ -414,7 +414,7 @@ static const sal_Unicode aWingDings3Tab[224] =
0, 0, 0, 0
};
-// -----------------------------------------------------------------------
+
static const sal_Unicode aWebDingsTab[224] =
{
@@ -490,7 +490,7 @@ static const sal_Unicode aWebDingsTab[224] =
0xe3db, 0xe3dc, 0xe3dd, 0xe3de
};
-// -----------------------------------------------------------------------
+
static const sal_Unicode aAdobeSymbolTab[224] =
{
@@ -567,7 +567,7 @@ static const sal_Unicode aAdobeSymbolTab[224] =
0xe167, 0xe168, 0xe169, 0,
};
-// -----------------------------------------------------------------------
+
static const sal_Unicode aMonotypeSortsTab[224] =
{
@@ -643,7 +643,7 @@ static const sal_Unicode aMonotypeSortsTab[224] =
0x27bc, 0x27bd, 0x27be, 0,
};
-// -----------------------------------------------------------------------
+
static const sal_Unicode aMTExtraTab[224] =
{
@@ -793,7 +793,7 @@ static const sal_Unicode aAdobeSymbolToAppleSymbolTab[224] =
0x23AB, 0x23AC, 0x23AD, 0x00FF
};
-//=======================================================================
+
static sal_Unicode ImplStarSymbolToStarBats( sal_Unicode c )
{
@@ -1334,7 +1334,7 @@ StarSymbolToMSMultiFont *CreateStarSymbolToMSMultiFont(bool bPerfectOnly)
return new StarSymbolToMSMultiFontImpl(bPerfectOnly);
}
-//=======================================================================
+
sal_Unicode ConvertChar::RecodeChar( sal_Unicode cChar ) const
{
@@ -1372,7 +1372,7 @@ sal_Unicode ConvertChar::RecodeChar( sal_Unicode cChar ) const
return cRetVal ? cRetVal : cChar;
}
-// -----------------------------------------------------------------------
+
// recode the string assuming the character codes are symbol codes
// from an traditional symbol font (i.e. U+F020..U+F0FF)
@@ -1400,7 +1400,7 @@ void ConvertChar::RecodeString( OUString& rStr, sal_Int32 nIndex, sal_Int32 nLen
rStr = aTmpStr.makeStringAndClear();
}
-//=======================================================================
+
struct RecodeTable { const char* pOrgName; ConvertChar aCvt;};
@@ -1434,7 +1434,7 @@ static const RecodeTable aAppleSymbolRecodeTable[] = {
static ConvertChar aImplStarSymbolCvt = { NULL, "StarBats", ImplStarSymbolToStarBats };
-// -----------------------------------------------------------------------
+
const ConvertChar* ConvertChar::GetRecodeData( const OUString& rOrgFontName, const OUString& rMapFontName )
{
@@ -1480,7 +1480,7 @@ const ConvertChar* ConvertChar::GetRecodeData( const OUString& rOrgFontName, con
return pCvt;
}
-//=======================================================================
+
FontToSubsFontConverter CreateFontToSubsFontConverter( const OUString& rOrgName, sal_uLong nFlags )
{
@@ -1511,7 +1511,7 @@ FontToSubsFontConverter CreateFontToSubsFontConverter( const OUString& rOrgName,
return (FontToSubsFontConverter)pCvt;
}
-// -----------------------------------------------------------------------
+
void DestroyFontToSubsFontConverter(
SAL_UNUSED_PARAMETER FontToSubsFontConverter )
@@ -1519,7 +1519,7 @@ void DestroyFontToSubsFontConverter(
//TODO: nothing to do for now, because we use static ImplCvtChars
}
-// -----------------------------------------------------------------------
+
sal_Unicode ConvertFontToSubsFontChar(
FontToSubsFontConverter hConverter, sal_Unicode cChar )
@@ -1530,7 +1530,7 @@ sal_Unicode ConvertFontToSubsFontChar(
return cChar;
}
-// -----------------------------------------------------------------------
+
OUString GetFontToSubsFontName( FontToSubsFontConverter hConverter )
{