Kaydet (Commit) 5ccdfd28 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

fix OUString conversion

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

Change-Id: Ia69ab790cc961645a806d971ddc4238d8288b573
üst 3475ca1a
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment