From 8c1f440b7cec09f7c1e9acf2152a36ce2216f4d8 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Thu, 20 Sep 2007 13:24:36 +0000 Subject: INTEGRATION: CWS os2port01 (1.36.22); FILE MERGED 2007/09/05 08:35:04 obr 1.36.22.3: RESYNC: (1.42-1.43); FILE MERGED 2007/07/13 09:33:03 obr 1.36.22.2: RESYNC: (1.36-1.42); FILE MERGED 2006/12/28 15:01:45 ydario 1.36.22.1: OS/2 initial import. --- psprint/source/fontsubset/sft.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'psprint') diff --git a/psprint/source/fontsubset/sft.c b/psprint/source/fontsubset/sft.c index 7d058606b806..40463f94dcb5 100644 --- a/psprint/source/fontsubset/sft.c +++ b/psprint/source/fontsubset/sft.c @@ -4,9 +4,9 @@ * * $RCSfile: sft.c,v $ * - * $Revision: 1.43 $ + * $Revision: 1.44 $ * - * last change: $Author: hr $ $Date: 2007-07-31 16:01:46 $ + * last change: $Author: vg $ $Date: 2007-09-20 14:24:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1648,7 +1648,7 @@ static void allocTrueTypeFont( TrueTypeFont** ttf ) /* forward declariotn for the two entry points to use*/ static int doOpenTTFont( sal_uInt32 facenum, TrueTypeFont* t ); -#if ! defined WIN32 +#if !defined(WIN32) && !defined(OS2) int OpenTTFontFile( const char* fname, sal_uInt32 facenum, TrueTypeFont** ttf ) { int ret, fd = -1; @@ -1912,7 +1912,7 @@ void CloseTTFont(TrueTypeFont *ttf) /*FOLD01*/ { if (ttf->tag != TTFontClassTag) return; -#ifndef WIN32 +#if !defined(WIN32) && !defined(OS2) if( ttf->fname ) munmap((char *) ttf->ptr, ttf->fsize); #endif -- cgit