[Libreoffice-commits] core.git: vcl/inc vcl/source

Thomas Arnhold thomas at arnhold.org
Fri Nov 1 10:08:03 CET 2013


 vcl/inc/sft.hxx               |    4 ++--
 vcl/source/fontsubset/sft.cxx |   16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 831fc27e2a1478c9edb3d19134d85a5af834049e
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Wed Oct 30 11:17:11 2013 +0100

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx
index 112e739..b5b0548 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 38199c1..9880b7b 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)
 {


More information about the Libreoffice-commits mailing list