diff options
Diffstat (limited to 'desktop/source/lib/init.cxx')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index b9dedadb47e7..ed8bfa3e3c04 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -2874,7 +2874,7 @@ unsigned char* doc_renderFont(SAL_UNUSED_PARAMETER LibreOfficeKitDocument* /*pTh { const FontMetric& rFontMetric = pList->GetFontName(i); const OUString& aFontName = rFontMetric.GetFamilyName(); - if (!aSearchedFontName.equals(aFontName.toUtf8().getStr())) + if (aSearchedFontName != aFontName.toUtf8()) continue; if (aText.isEmpty()) |