diff options
Diffstat (limited to 'vcl/source/glyphs/glyphcache.cxx')
-rw-r--r-- | vcl/source/glyphs/glyphcache.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/vcl/source/glyphs/glyphcache.cxx b/vcl/source/glyphs/glyphcache.cxx index b857c0824975..8201a3200ff5 100644 --- a/vcl/source/glyphs/glyphcache.cxx +++ b/vcl/source/glyphs/glyphcache.cxx @@ -175,25 +175,6 @@ GlyphCache& GlyphCache::GetInstance() // ----------------------------------------------------------------------- -void GlyphCache::AddFontPath( const String& rFontPath ) -{ - if( !mpFtManager ) - return; - - for( xub_StrLen nBreaker1 = 0, nBreaker2 = 0; nBreaker2 != STRING_LEN; nBreaker1 = nBreaker2 + 1 ) - { - nBreaker2 = rFontPath.Search( ';', nBreaker1 ); - if( nBreaker2 == STRING_NOTFOUND ) - nBreaker2 = STRING_LEN; - - ::rtl::OUString aUrlName; - osl::FileBase::getFileURLFromSystemPath( rFontPath.Copy( nBreaker1, nBreaker2 ), aUrlName ); - mpFtManager->AddFontDir( aUrlName ); - } -} - -// ----------------------------------------------------------------------- - void GlyphCache::AddFontFile( const rtl::OString& rNormalizedName, int nFaceNum, sal_IntPtr nFontId, const ImplDevFontAttributes& rDFA, const ExtraKernInfo* pExtraKern ) { |