From 5ccdfd28bf05703f2d4b3c0e2040dd6d500eb8d0 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sun, 26 May 2013 08:20:09 +0200 Subject: [PATCH] fix OUString conversion no idea why hgminchob and hgpminchob are/were not handled this way. Change-Id: Ia69ab790cc961645a806d971ddc4238d8288b573 --- vcl/source/gdi/outdev3.cxx | 8 ++++---- 1 file 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");