summaryrefslogtreecommitdiff
path: root/vcl/source/font/fontcache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/font/fontcache.cxx')
-rw-r--r--vcl/source/font/fontcache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/font/fontcache.cxx b/vcl/source/font/fontcache.cxx
index d9e0dffe5976..41723f85d63a 100644
--- a/vcl/source/font/fontcache.cxx
+++ b/vcl/source/font/fontcache.cxx
@@ -170,7 +170,7 @@ LogicalFontInstance* ImplFontCache::GetFontInstance( PhysicalFontCollection* pFo
if( !pFontInstance ) // no direct cache hit
{
// find the best matching logical font family and update font selector accordingly
- pFontFamily = pFontList->FindFontFamilyByFont( aFontSelData );
+ pFontFamily = pFontList->FindFontFamily( aFontSelData );
DBG_ASSERT( (pFontFamily != nullptr), "ImplFontCache::Get() No logical font found!" );
if( pFontFamily )
aFontSelData.maSearchName = pFontFamily->GetSearchName();