fix OUString conversion
no idea why hgminchob and hgpminchob are/were not handled this way. Change-Id: Ia69ab790cc961645a806d971ddc4238d8288b573
This commit is contained in:
@@ -2395,13 +2395,13 @@ ImplDevFontListData* ImplDevFontList::ImplFindByFont( FontSelectPattern& rFSD,
|
|||||||
&& aSearchName.startsWithIgnoreAsciiCase( "hg" ) )
|
&& aSearchName.startsWithIgnoreAsciiCase( "hg" ) )
|
||||||
{
|
{
|
||||||
OUString aBoldName;
|
OUString aBoldName;
|
||||||
if( aSearchName.equalsIgnoreAsciiCase( "hggothicb" ) )
|
if( aSearchName.startsWithIgnoreAsciiCase( "hggothicb" ) )
|
||||||
aBoldName = OUString("hggothice");
|
aBoldName = OUString("hggothice");
|
||||||
else if( aSearchName.equalsIgnoreAsciiCase( "hgpgothicb" ) )
|
else if( aSearchName.startsWithIgnoreAsciiCase( "hgpgothicb" ) )
|
||||||
aBoldName = OUString("hgpgothice");
|
aBoldName = OUString("hgpgothice");
|
||||||
else if( aSearchName.equalsIgnoreAsciiCase( "hgminchol" ) )
|
else if( aSearchName.startsWithIgnoreAsciiCase( "hgminchol" ) )
|
||||||
aBoldName = OUString("hgminchob");
|
aBoldName = OUString("hgminchob");
|
||||||
else if( aSearchName.equalsIgnoreAsciiCase( "hgpminchol" ) )
|
else if( aSearchName.startsWithIgnoreAsciiCase( "hgpminchol" ) )
|
||||||
aBoldName = OUString("hgpminchob");
|
aBoldName = OUString("hgpminchob");
|
||||||
else if( aSearchName.equalsIgnoreAsciiCase( "hgminchob" ) )
|
else if( aSearchName.equalsIgnoreAsciiCase( "hgminchob" ) )
|
||||||
aBoldName = OUString("hgminchoe");
|
aBoldName = OUString("hgminchoe");
|
||||||
|
Reference in New Issue
Block a user