starmath/source/parse.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a323172a92434189ec14eff5b3ca0d6c3b63f269 Author: Takeshi Abe <t...@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 <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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; } }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits