diff options
author | Sean Young <sean@mess.org> | 2013-05-25 20:06:15 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-05-26 06:15:19 +0000 |
commit | 3475ca1ad98c77313c177418f350ba8d03d3543d (patch) | |
tree | fc3290aad47d266d0ef30ee97dd7ed7fc9ced83d /vcl/source | |
parent | 0bfb9e93346e0bcac1b7e228cc8860eec0295592 (diff) |
fix OUString conversion
This used to be equalsAscii( "hg", 0, 2 ) before conversion.
Fixes 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10
Change-Id: I2cf61d88c79b3ab33c0ee7d077ee65b16053c05c
Reviewed-on: https://gerrit.libreoffice.org/4035
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/outdev3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 426178732bd3..393c2fbfb7d1 100644 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -2392,7 +2392,7 @@ ImplDevFontListData* ImplDevFontList::ImplFindByFont( FontSelectPattern& rFSD, // #114999# special emboldening for Ricoh fonts // TODO: smarter check for special cases by using PreMatch infrastructure? if( (rFSD.GetWeight() > WEIGHT_MEDIUM) - && aSearchName.equalsIgnoreAsciiCase( "hg" ) ) + && aSearchName.startsWithIgnoreAsciiCase( "hg" ) ) { OUString aBoldName; if( aSearchName.equalsIgnoreAsciiCase( "hggothicb" ) ) |