summaryrefslogtreecommitdiff
path: root/psprint
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-25 13:20:29 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-25 13:20:29 +0000
commit720dd8ff1a61428a3f26ef5ff64d854c30ddb654 (patch)
treecc60a27603ad735362978205cc40fb066339389a /psprint
parent8b90c3bc354b42c6151c6d6a420333cc534ea024 (diff)
INTEGRATION: CWS vcl89 (1.46.6); FILE MERGED
2008/05/19 09:12:06 pl 1.46.6.1: #i89625# remove unused code
Diffstat (limited to 'psprint')
-rw-r--r--psprint/source/fontsubset/sft.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/psprint/source/fontsubset/sft.c b/psprint/source/fontsubset/sft.c
index 14280cf4c81d..49dce7043388 100644
--- a/psprint/source/fontsubset/sft.c
+++ b/psprint/source/fontsubset/sft.c
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sft.c,v $
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
* This file is part of OpenOffice.org.
*
@@ -1538,6 +1538,7 @@ static void GetKern(TrueTypeFont *ttf)
return;
}
+#ifdef TEST5
/* KernGlyphsPrim?() functions expect the caller to ensure the validity of their arguments and
* that x and y elements of the kern array are initialized to zeroes
*/
@@ -1608,6 +1609,7 @@ static void KernGlyphsPrim2(TrueTypeFont *ttf, sal_uInt16 *glyphs, int nglyphs,
}
}
}
+#endif
/*- Public functions */ /*FOLD00*/
@@ -2721,6 +2723,7 @@ void GetTTGlobalFontInfo(TrueTypeFont *ttf, TTGlobalFontInfo *info)
}
}
+#ifdef TEST5
void KernGlyphs(TrueTypeFont *ttf, sal_uInt16 *glyphs, int nglyphs, int wmode, KernData *kern)
{
int i;
@@ -2735,6 +2738,7 @@ void KernGlyphs(TrueTypeFont *ttf, sal_uInt16 *glyphs, int nglyphs, int wmode, K
default: return;
}
}
+#endif
GlyphData *GetTTRawGlyphData(TrueTypeFont *ttf, sal_uInt32 glyphID)
{