summaryrefslogtreecommitdiff
path: root/starmath/source/parse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r--starmath/source/parse.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index d3999a545d00..7503cb35e20d 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -334,8 +334,7 @@ const SmTokenTableEntry * SmParser::GetTokenTableEntry( const String &rName )
const SmTokenTableEntry * pRes = 0;
if (rName.Len())
{
- sal_Int32 nEntries = SAL_N_ELEMENTS(aTokenTable);
- for (sal_Int32 i = 0; i < nEntries; ++i)
+ for (sal_Int32 i = 0; i < SAL_N_ELEMENTS(aTokenTable); ++i)
{
if (rName.EqualsIgnoreCaseAscii( aTokenTable[i].pIdent ))
{
@@ -343,7 +342,6 @@ const SmTokenTableEntry * SmParser::GetTokenTableEntry( const String &rName )
break;
}
}
-
}
return pRes;