[Libreoffice-commits] core.git: starmath/source
Takeshi Abe
tabe at fixedpoint.jp
Tue Jul 12 14:07:40 UTC 2016
starmath/source/parse.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a323172a92434189ec14eff5b3ca0d6c3b63f269
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Tue Jul 12 18:30:11 2016 +0900
starmath: no need to create temporary string for comparison
Change-Id: I906ef285ec6164284924ca4771a6da758bd23fd6
Reviewed-on: https://gerrit.libreoffice.org/27140
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index f1434c9..9ac2d93 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;
}
}
More information about the Libreoffice-commits
mailing list