From 54cf331a96429212c1ed0041c003840a760d75fa Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 13 Jan 2012 22:54:14 +0000 Subject: callcatcher: update list, updateDirTimestamp now unused --- unusedcode.easy | 5 ++++- vcl/generic/fontmanager/fontcache.cxx | 14 -------------- vcl/inc/fontcache.hxx | 2 -- 3 files changed, 4 insertions(+), 17 deletions(-) diff --git a/unusedcode.easy b/unusedcode.easy index 20ea8da16075..26f593d49331 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -257,6 +257,10 @@ ScDPCache::GetAdditionalItemID(String const&) const ScDPCache::GetDimNumType(short) const ScDPCache::GetSortedItemData(short, int) const ScDPCache::IsEmptyMember(int, unsigned short) const +ScDPCollection::DBCaches::removeCache(int, rtl::OUString const&, rtl::OUString const&) +ScDPCollection::DBCaches::size() const +ScDPCollection::NameCaches::removeCache(rtl::OUString const&) +ScDPCollection::SheetCaches::removeCache(ScRange const&) ScDPFieldControlBase::GetParentDlg() const ScDPFieldControlBase::ModifySelectionOffset(long) ScDPFieldControlBase::SetSelectedField(unsigned long) @@ -1748,7 +1752,6 @@ pdfi::PDFIProcessor::sortDocument(bool) pdfi::PDFIRawAdaptor::odfConvert(rtl::OUString const&, com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&) pdfparse::PDFReader::read(char const*, unsigned int) psp::GetCommandLineTokenCount(rtl::OString const&) -psp::PrintFontManager::getXLFD(psp::PrintFontManager::PrintFont*) const psp::PrinterGfx::DrawBitmap(Rectangle const&, Rectangle const&, psp::PrinterBmp const&, psp::PrinterBmp const&) psp::PrinterGfx::DrawMask(Rectangle const&, Rectangle const&, psp::PrinterBmp const&, psp::PrinterColor&) psp::PrinterGfx::GetGlyphBoundRect(unsigned short, Rectangle&) 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 @@ -501,20 +501,6 @@ void FontCache::read() } while( ! aStream.IsEof() ); } -/* - * 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 */ 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 -- cgit