diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-05-26 08:20:09 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-05-26 08:20:09 +0200 |
commit | 5ccdfd28bf05703f2d4b3c0e2040dd6d500eb8d0 (patch) | |
tree | 287a2e98f60c38cc1073384ec871ccfcf1a79313 /vcl/source | |
parent | 3475ca1ad98c77313c177418f350ba8d03d3543d (diff) |
fix OUString conversion
no idea why hgminchob and hgpminchob are/were not handled this way.
Change-Id: Ia69ab790cc961645a806d971ddc4238d8288b573
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/outdev3.cxx | 8 |
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"); |