summaryrefslogtreecommitdiffstats
path: root/vcl/source/glyphs/glyphcache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/glyphs/glyphcache.cxx')
-rw-r--r--vcl/source/glyphs/glyphcache.cxx32
1 files changed, 0 insertions, 32 deletions
diff --git a/vcl/source/glyphs/glyphcache.cxx b/vcl/source/glyphs/glyphcache.cxx
index 0688e17d9a45..b857c0824975 100644
--- a/vcl/source/glyphs/glyphcache.cxx
+++ b/vcl/source/glyphs/glyphcache.cxx
@@ -175,23 +175,6 @@ GlyphCache& GlyphCache::GetInstance()
// -----------------------------------------------------------------------
-void GlyphCache::LoadFonts()
-{
- const String& rFontPath = Application::GetFontPath();
- if( rFontPath.Len() > 0 )
- AddFontPath( rFontPath );
-}
-
-// -----------------------------------------------------------------------
-
-void GlyphCache::ClearFontPath()
-{
- if( mpFtManager )
- mpFtManager->ClearFontList();
-}
-
-// -----------------------------------------------------------------------
-
void GlyphCache::AddFontPath( const String& rFontPath )
{
if( !mpFtManager )
@@ -299,21 +282,6 @@ void GlyphCache::UncacheFont( ServerFont& rServerFont )
// -----------------------------------------------------------------------
-sal_uLong GlyphCache::CalcByteCount() const
-{
- sal_uLong nCacheSize = sizeof(*this);
- for( FontList::const_iterator it = maFontList.begin(); it != maFontList.end(); ++it )
- {
- const ServerFont* pSF = it->second;
- if( pSF )
- nCacheSize += pSF->GetByteCount();
- }
- // TODO: also account something for hashtable management
- return nCacheSize;
-}
-
-// -----------------------------------------------------------------------
-
void GlyphCache::GarbageCollect()
{
// when current GC font has been destroyed get another one