summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/gdi/outdev3.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index 393c2fbfb7d1..19000931ac90 100644
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -2395,13 +2395,13 @@ ImplDevFontListData* ImplDevFontList::ImplFindByFont( FontSelectPattern& rFSD,
&& aSearchName.startsWithIgnoreAsciiCase( "hg" ) )
{
OUString aBoldName;
- if( aSearchName.equalsIgnoreAsciiCase( "hggothicb" ) )
+ if( aSearchName.startsWithIgnoreAsciiCase( "hggothicb" ) )
aBoldName = OUString("hggothice");
- else if( aSearchName.equalsIgnoreAsciiCase( "hgpgothicb" ) )
+ else if( aSearchName.startsWithIgnoreAsciiCase( "hgpgothicb" ) )
aBoldName = OUString("hgpgothice");
- else if( aSearchName.equalsIgnoreAsciiCase( "hgminchol" ) )
+ else if( aSearchName.startsWithIgnoreAsciiCase( "hgminchol" ) )
aBoldName = OUString("hgminchob");
- else if( aSearchName.equalsIgnoreAsciiCase( "hgpminchol" ) )
+ else if( aSearchName.startsWithIgnoreAsciiCase( "hgpminchol" ) )
aBoldName = OUString("hgpminchob");
else if( aSearchName.equalsIgnoreAsciiCase( "hgminchob" ) )
aBoldName = OUString("hgminchoe");