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 | |
parent | 3391bd05cc2f43a48cdccda0ae4c1a2f587bbaaa (diff) |
callcatcher: update list, updateDirTimestamp now unused
-rw-r--r-- | unusedcode.easy | 5 | ||||
-rw-r--r-- | vcl/generic/fontmanager/fontcache.cxx | 14 | ||||
-rw-r--r-- | 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<com::sun::star::io::XOutputStream> const&, com::sun::star::uno::Reference<com::sun::star::task::XStatusIndicator> 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 @@ -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 |