summaryrefslogtreecommitdiff
path: root/vcl/generic/fontmanager
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 17:58:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 17:58:17 +0100
commit9de415945a608b8b90b648e04ad06bac2d53a9cd (patch)
tree1b0a3446e727a2190480b9f530767308ead38dd3 /vcl/generic/fontmanager
parent11f20999040e97c052c0015e3265de2a68cee666 (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.cxx4
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[] =
{