diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 13:57:11 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 14:58:04 +0100 |
commit | 3f5762b649c43383bc4dd362d86a445205332590 (patch) | |
tree | ab0b3a1ef46a5bab0d5ff1a77e915a8b5a615c0b /starmath/source/parse.cxx | |
parent | 3eeca6d39a0dd957bd9c3c27dae6c942ce0d9df4 (diff) |
targetted SAL_N_ELEMENTS revert.
Change-Id: Idd43d44dd7fc4bb33be2de5b855a7741de88ec51
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r-- | starmath/source/parse.cxx | 4 |
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; |