diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-05-23 19:49:08 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-27 15:42:33 +0000 |
commit | a0f85534a71e5b04a8ca21c12ab3f04335f34344 (patch) | |
tree | b5fb71954370d18ff57616f8d71c5e5b9ce81940 /vcl/generic | |
parent | 34c2e8845804921c027ed66884fdf7c31f75fd87 (diff) |
be case-insensitive for open/starsymbol comparison
Change-Id: I7a342c809a723f5f9c03271c6145d9c367cea6de
Reviewed-on: https://gerrit.libreoffice.org/4015
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/generic')
-rw-r--r-- | vcl/generic/glyphs/gcach_ftyp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx index e34b38d3a73a..0dfab940a40f 100644 --- a/vcl/generic/glyphs/gcach_ftyp.cxx +++ b/vcl/generic/glyphs/gcach_ftyp.cxx @@ -921,8 +921,8 @@ void ServerFont::FetchFontMetric( ImplFontMetricData& rTo, long& rFactor ) const //Always consider [star]symbol as symbol fonts if ( - (rTo.GetFamilyName() == "OpenSymbol" ) || - (rTo.GetFamilyName() == "StarSymbol" ) + (rTo.GetFamilyName().equalsIgnoreAsciiCase("OpenSymbol")) || + (rTo.GetFamilyName().equalsIgnoreAsciiCase("StarSymbol")) ) { rTo.SetSymbolFlag( true ); |