summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-12-28 16:08:50 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-12-28 16:08:50 +0000
commit6285a52d7b5a4276ae9410c8dab78785c6ad1dd1 (patch)
tree3bd44473d1fb9a1c2ff679b2739422ec50578582
parentd28c7d456dcb23dbbdfb5936966ec8226ab34280 (diff)
INTEGRATION: CWS gslperform01 (1.1.1.1.262); FILE MERGED
2005/10/19 15:59:45 pl 1.1.1.1.262.1: #i56207# make afm parser faster
-rw-r--r--psprint/source/fontmanager/parseAFM.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/psprint/source/fontmanager/parseAFM.hxx b/psprint/source/fontmanager/parseAFM.hxx
index ab0d1d961448..ad0c32e4b51b 100644
--- a/psprint/source/fontmanager/parseAFM.hxx
+++ b/psprint/source/fontmanager/parseAFM.hxx
@@ -31,15 +31,16 @@
* - added ability to parse slightly broken files
* - added charwidth member to GlobalFontInfo
* 04/26/2001 pl - added OpenOffice header
+ * 10/19/2005 pl - changed parseFile to accept a file name instead of a stream
*/
/*************************************************************************
*
* $RCSfile: parseAFM.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: pl $ $Date: 2001-05-08 11:45:36 $
+ * last change: $Author: hr $ $Date: 2005-12-28 17:08:50 $
*
************************************************************************/
@@ -337,7 +338,7 @@ typedef struct
* The possible return codes from parseFile are defined above.
*/
-int parseFile( FILE *fp, FontInfo **fi, FLAGS flags );
+int parseFile( const char* pFilename, FontInfo **fi, FLAGS flags );
void freeFontInfo(FontInfo *fi);
} // namespace