summaryrefslogtreecommitdiff
path: root/psprint
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-08-05 11:52:53 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-08-05 11:52:53 +0000
commit9cfce6733f5f3161c3dfc6a8d39283e705df0343 (patch)
treecff86cd705a5ac16c001bcf50e27fc206c65b745 /psprint
parentd9f401ce8263aca74c6f7029f37082119cb22320 (diff)
INTEGRATION: CWS gslpatches2 (1.22.22); FILE MERGED
2005/06/08 12:58:51 pl 1.22.22.2: #i50482# 64bit fix and type cleanup from kendy 2005/05/31 09:10:19 pl 1.22.22.1: #i50067# forward decls (thanks to pmladek)
Diffstat (limited to 'psprint')
-rw-r--r--psprint/inc/psprint/fontmanager.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/psprint/inc/psprint/fontmanager.hxx b/psprint/inc/psprint/fontmanager.hxx
index aafe2d269cac..fc77e340241d 100644
--- a/psprint/inc/psprint/fontmanager.hxx
+++ b/psprint/inc/psprint/fontmanager.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fontmanager.hxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: rt $ $Date: 2005-01-31 08:58:54 $
+ * last change: $Author: hr $ $Date: 2005-08-05 12:52:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -243,6 +243,8 @@ struct KernPair
KernPair() : first( 0 ), second( 0 ), kern_x( 0 ), kern_y( 0 ) {}
};
+class FontCache;
+
// a class to manage printable fonts
// aims are type1 and truetype fonts
@@ -434,7 +436,7 @@ class PrintFontManager
PrintFont* getFont( fontID nID ) const
{
- std::hash_map< int, PrintFont* >::const_iterator it;
+ std::hash_map< fontID, PrintFont* >::const_iterator it;
it = m_aFonts.find( nID );
return it == m_aFonts.end() ? NULL : it->second;
}