diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 07:58:41 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 07:58:41 +0000 |
commit | 0c2035cdfbab6529ea4f7437477d388227c87c2d (patch) | |
tree | 671c70113a4d153e1d128a7ceb9e951978a72cc4 /psprint | |
parent | 411f66186e22829334e6a80e610c3864a51e769d (diff) |
INTEGRATION: CWS vcl34 (1.4.24); FILE MERGED
2004/12/15 16:26:11 pl 1.4.24.1: #i38367# move user overrides that were in fonts.dir to font cache
Diffstat (limited to 'psprint')
-rw-r--r-- | psprint/inc/psprint/fontcache.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/psprint/inc/psprint/fontcache.hxx b/psprint/inc/psprint/fontcache.hxx index fbaabc0d7257..4e47abaf20fe 100644 --- a/psprint/inc/psprint/fontcache.hxx +++ b/psprint/inc/psprint/fontcache.hxx @@ -2,9 +2,9 @@ * * $RCSfile: fontcache.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: obo $ $Date: 2004-07-05 09:21:57 $ + * last change: $Author: rt $ $Date: 2005-01-31 08:58:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -94,9 +94,10 @@ class FontCache { sal_Int64 m_nTimestamp; bool m_bNoFiles; + bool m_bUserOverrideOnly; FontDirMap m_aEntries; - FontDir() : m_nTimestamp(0), m_bNoFiles(false) {} + FontDir() : m_nTimestamp(0), m_bNoFiles(false), m_bUserOverrideOnly( false ) {} }; typedef std::hash_map< int, FontDir > FontCacheData; @@ -123,6 +124,8 @@ public: // returns false for non cached directory // a cached but empty directory will return true but not append anything bool listDirectory( const rtl::OString& rDir, std::list< PrintFontManager::PrintFont* >& rNewFonts ) const; + // returns true for directoris that contain only user overridden fonts + bool scanAdditionalFiles( const rtl::OString& rDir ); void flush(); |