diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 17:58:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 17:58:17 +0100 |
commit | 9de415945a608b8b90b648e04ad06bac2d53a9cd (patch) | |
tree | 1b0a3446e727a2190480b9f530767308ead38dd3 /vcl/generic/fontmanager | |
parent | 11f20999040e97c052c0015e3265de2a68cee666 (diff) |
vcl: Use appropriate OUString functions on string constants
Change-Id: I169624820cd7d25eab18a6b90482e075ebfebcc6
Diffstat (limited to 'vcl/generic/fontmanager')
-rw-r--r-- | vcl/generic/fontmanager/fontmanager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/generic/fontmanager/fontmanager.cxx b/vcl/generic/fontmanager/fontmanager.cxx index 33fb4ed77c3a..4fbded72515c 100644 --- a/vcl/generic/fontmanager/fontmanager.cxx +++ b/vcl/generic/fontmanager/fontmanager.cxx @@ -364,8 +364,8 @@ bool PrintFontManager::PrintFont::readAfmMetrics( MultiAtomProvider* pProvider, // try to parse the font name and decide whether it might be a // japanese font. Who invented this PITA ? OUString aPSNameLastToken( aPSName.copy( aPSName.lastIndexOf( '-' )+1 ) ); - if( aPSNameLastToken.equalsAscii( "H" ) || - aPSNameLastToken.equalsAscii( "V" ) ) + if( aPSNameLastToken == "H" || + aPSNameLastToken == "V" ) { static const char* pEncs[] = { |