summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/parse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index f1434c9939d2..9ac2d932e748 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -298,7 +298,7 @@ const SmTokenTableEntry * SmParser::GetTokenTableEntry( const OUString &rName )
{
for (auto const &token : aTokenTable)
{
- if (rName.equalsIgnoreAsciiCase( OUString::createFromAscii(token.pIdent) ))
+ if (rName.equalsIgnoreAsciiCaseAscii( token.pIdent ))
return &token;
}
}