fix OUString conversion

no idea why hgminchob and hgpminchob are/were not handled this way.

Change-Id: Ia69ab790cc961645a806d971ddc4238d8288b573
This commit is contained in:
Thomas Arnhold
2013-05-26 08:20:09 +02:00
parent 3475ca1ad9
commit 5ccdfd28bf

View File

@@ -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");