summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-10-30 11:17:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-11-01 04:07:42 -0500
commit831fc27e2a1478c9edb3d19134d85a5af834049e (patch)
tree52895b2a5f2e1e1909b2aa1c61b0b2383fc7863c /vcl
parent90ef8ac1b5d94c24ff0d5a26a8ca6b6769f225c1 (diff)
remove nonsense FOLD comments
Conflicts: vcl/inc/sft.hxx Change-Id: I1b744f14b6524e4d5913775427280e68c4ee07fc Reviewed-on: https://gerrit.libreoffice.org/6491 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/sft.hxx4
-rw-r--r--vcl/source/fontsubset/sft.cxx16
2 files changed, 10 insertions, 10 deletions
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx
index 112e73966e4d..b5b0548ffeed 100644
--- a/vcl/inc/sft.hxx
+++ b/vcl/inc/sft.hxx
@@ -280,7 +280,7 @@ namespace vcl
* @return value of SFErrCodes enum
* @ingroup sft
*/
- int VCL_DLLPUBLIC OpenTTFontBuffer(const void* pBuffer, sal_uInt32 nLen, sal_uInt32 facenum, TrueTypeFont** ttf); /*FOLD01*/
+ int VCL_DLLPUBLIC OpenTTFontBuffer(const void* pBuffer, sal_uInt32 nLen, sal_uInt32 facenum, TrueTypeFont** ttf);
#if !defined(WIN32)
/**
* TrueTypeFont constructor.
@@ -554,7 +554,7 @@ namespace vcl
bool GetSfntTable( TrueTypeFont* ttf, int nSubtableIndex,
const sal_uInt8** ppRawBytes, int* pRawLength );
-/*- private definitions */ /*FOLD00*/
+/*- private definitions */
struct _TrueTypeFont {
sal_uInt32 tag;
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx
index 38199c170a29..9880b7b1db7a 100644
--- a/vcl/source/fontsubset/sft.cxx
+++ b/vcl/source/fontsubset/sft.cxx
@@ -58,7 +58,7 @@ static const char *modname = "SunTypeTools-TT";
static const char *modver = "1.0";
static const char *modextra = "gelf";
-/*- private functions, constants and data types */ /*FOLD00*/
+/*- private functions, constants and data types */
enum PathSegmentType {
PS_NOOP = 0,
@@ -214,7 +214,7 @@ const char *ulcodes[LAST_URANGE_BIT+2] = {
-/*- inline functions */ /*FOLD01*/
+/*- inline functions */
#ifdef __GNUC__
#define _inline static __inline__
#else
@@ -454,7 +454,7 @@ static void HexFmtBlockWrite(HexFmt *_this, const void *ptr, sal_uInt32 size)
-/* Outline Extraction functions */ /*FOLD01*/
+/* Outline Extraction functions */
/* fills the aw and lsb entries of the TTGlyphMetrics structure from hmtx table -*/
static void GetMetrics(TrueTypeFont *ttf, sal_uInt32 glyphID, TTGlyphMetrics *metrics)
@@ -488,7 +488,7 @@ static void GetMetrics(TrueTypeFont *ttf, sal_uInt32 glyphID, TTGlyphMetrics *me
static int GetTTGlyphOutline(TrueTypeFont *, sal_uInt32 , ControlPoint **, TTGlyphMetrics *, std::vector< sal_uInt32 >* );
/* returns the number of control points, allocates the pointArray */
-static int GetSimpleTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics) /*FOLD02*/
+static int GetSimpleTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics)
{
const sal_uInt8* table = getTable( ttf, O_glyf );
sal_uInt8 flag, n;
@@ -579,7 +579,7 @@ static int GetSimpleTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoin
return lastPoint + 1;
}
-static int GetCompoundTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics, std::vector< sal_uInt32 >& glyphlist) /*FOLD02*/
+static int GetCompoundTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics, std::vector< sal_uInt32 >& glyphlist)
{
sal_uInt16 flags, index;
sal_Int16 e, f, numberOfContours;
@@ -1450,7 +1450,7 @@ static void GetKern(TrueTypeFont *ttf)
return;
}
-/*- Public functions */ /*FOLD00*/
+/*- Public functions */
int CountTTCFonts(const char* fname)
{
@@ -1742,7 +1742,7 @@ static int doOpenTTFont( sal_uInt32 facenum, TrueTypeFont* t )
return SF_OK;
}
-void CloseTTFont(TrueTypeFont *ttf) /*FOLD01*/
+void CloseTTFont(TrueTypeFont *ttf)
{
#if !defined(WIN32)
if( ttf->fname )
@@ -1814,7 +1814,7 @@ int GetTTGlyphComponents(TrueTypeFont *ttf, sal_uInt32 glyphID, std::vector< sal
}
#ifndef NO_TYPE3
-int CreateT3FromTTGlyphs(TrueTypeFont *ttf, FILE *outf, const char *fname, /*FOLD00*/
+int CreateT3FromTTGlyphs(TrueTypeFont *ttf, FILE *outf, const char *fname,
sal_uInt16 *glyphArray, sal_uInt8 *encoding, int nGlyphs,
int wmode)
{