diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/generic/fontmanager/fontcache.cxx | 10 | ||||
-rw-r--r-- | vcl/generic/fontmanager/fontmanager.cxx | 18 | ||||
-rw-r--r-- | vcl/inc/fontcache.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/fontmanager.hxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 10 |
5 files changed, 0 insertions, 41 deletions
diff --git a/vcl/generic/fontmanager/fontcache.cxx b/vcl/generic/fontmanager/fontcache.cxx index cbb899edeb9d..4644b7ab89af 100644 --- a/vcl/generic/fontmanager/fontcache.cxx +++ b/vcl/generic/fontmanager/fontcache.cxx @@ -741,14 +741,4 @@ void FontCache::createCacheDir( int nDirID ) m_aCache[nDirID].m_nTimestamp = (sal_Int64)aStat.st_mtime; } -/* - * FontCache::markEmptyDir - */ -void FontCache::markEmptyDir( int nDirID, bool bNoFiles ) -{ - createCacheDir( nDirID ); - m_aCache[nDirID].m_bNoFiles = bNoFiles; - m_bDoFlush = true; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/generic/fontmanager/fontmanager.cxx b/vcl/generic/fontmanager/fontmanager.cxx index cc3a32e7a18b..4f4d99b95a90 100644 --- a/vcl/generic/fontmanager/fontmanager.cxx +++ b/vcl/generic/fontmanager/fontmanager.cxx @@ -1527,24 +1527,6 @@ void PrintFontManager::fillPrintFontInfo( PrintFont* pFont, PrintFontInfo& rInfo // ------------------------------------------------------------------------- -void PrintFontManager::getFontListWithFastInfo( ::std::list< FastPrintFontInfo >& rFonts ) -{ - rFonts.clear(); - ::std::list< fontID > aFontList; - getFontList( aFontList ); - - ::std::list< fontID >::iterator it; - for( it = aFontList.begin(); it != aFontList.end(); ++it ) - { - FastPrintFontInfo aInfo; - aInfo.m_nID = *it; - fillPrintFontInfo( getFont( *it ), aInfo ); - rFonts.push_back( aInfo ); - } -} - -// ------------------------------------------------------------------------- - bool PrintFontManager::getFontInfo( fontID nFontID, PrintFontInfo& rInfo ) const { PrintFont* pFont = getFont( nFontID ); diff --git a/vcl/inc/fontcache.hxx b/vcl/inc/fontcache.hxx index abce7432fb15..777c896face3 100644 --- a/vcl/inc/fontcache.hxx +++ b/vcl/inc/fontcache.hxx @@ -72,7 +72,6 @@ public: bool getFontCacheFile( int nDirID, const OString& rFile, std::list< PrintFontManager::PrintFont* >& rNewFonts ) const; void updateFontCacheEntry( const PrintFontManager::PrintFont*, bool bFlush ); - void markEmptyDir( int nDirID, bool bNoFiles = true ); // returns false for non cached directory // a cached but empty directory will return true but not append anything diff --git a/vcl/inc/fontmanager.hxx b/vcl/inc/fontmanager.hxx index 94ce3b282553..f0d95f188bd1 100644 --- a/vcl/inc/fontmanager.hxx +++ b/vcl/inc/fontmanager.hxx @@ -339,8 +339,6 @@ public: // returns the ids of all managed fonts. void getFontList( std::list< fontID >& rFontIDs ); - // get the font list and fast font info. - void getFontListWithFastInfo( std::list< FastPrintFontInfo >& rFonts ); // get font info for a specific font bool getFontInfo( fontID nFontID, PrintFontInfo& rInfo ) const; diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index 83e8d4c3aa07..dc0c3f928575 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -1495,16 +1495,6 @@ void PPDParser::getDefaultResolution( int& rXRes, int& rYRes ) const rYRes = 300; } -OUString PPDParser::getFont( int nFont ) const -{ - if( ! m_pFontList ) - return OUString(); - - if( nFont >=0 && nFont < m_pFontList->countValues() ) - return m_pFontList->getValue( nFont )->m_aOption; - return OUString(); -} - OUString PPDParser::translateKey( const OUString& i_rKey, const com::sun::star::lang::Locale& i_rLocale ) const { |