diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-13 22:54:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-16 10:21:54 +0000 |
commit | 54cf331a96429212c1ed0041c003840a760d75fa (patch) | |
tree | 76c60e9a40898941bdea988a588073dbf3a1207f /vcl | |
parent | 3391bd05cc2f43a48cdccda0ae4c1a2f587bbaaa (diff) |
callcatcher: update list, updateDirTimestamp now unused
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/generic/fontmanager/fontcache.cxx | 14 | ||||
-rw-r--r-- | vcl/inc/fontcache.hxx | 2 |
2 files changed, 0 insertions, 16 deletions
diff --git a/vcl/generic/fontmanager/fontcache.cxx b/vcl/generic/fontmanager/fontcache.cxx index 2e9ab9bbed1a..be9df03ee07e 100644 --- a/vcl/generic/fontmanager/fontcache.cxx +++ b/vcl/generic/fontmanager/fontcache.cxx @@ -502,20 +502,6 @@ void FontCache::read() } /* - * FontCache::updateDirTimestamp - */ -void FontCache::updateDirTimestamp( int nDirID ) -{ - PrintFontManager& rManager( PrintFontManager::get() ); - const OString& rDir = rManager.getDirectory( nDirID ); - - struct stat aStat; - if( ! stat( rDir.getStr(), &aStat ) ) - m_aCache[ nDirID ].m_nTimestamp = (sal_Int64)aStat.st_mtime; -} - - -/* * FontCache::copyPrintFont */ void FontCache::copyPrintFont( const PrintFontManager::PrintFont* pFrom, PrintFontManager::PrintFont* pTo ) const diff --git a/vcl/inc/fontcache.hxx b/vcl/inc/fontcache.hxx index fd1b8cd54a0c..ac27fb9ccdc8 100644 --- a/vcl/inc/fontcache.hxx +++ b/vcl/inc/fontcache.hxx @@ -91,8 +91,6 @@ public: bool scanAdditionalFiles( const rtl::OString& rDir ); void flush(); - - void updateDirTimestamp( int nDirID ); }; } // namespace psp |