summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@erack.de>2011-08-24 21:38:16 +0200
committerEike Rathke <erack@erack.de>2011-08-24 21:43:18 +0200
commit22a821239eae392704be9dc0a38d117dd11ee8f3 (patch)
tree14fa5009fe0d1080503601c1bb3fe0ce780ae300
parentcecb746a3d8132998711c429163874d39ff5b2ff (diff)
fdo#39192 correctly calculate jump matrix; end of path if NULL
-rw-r--r--formula/source/core/api/token.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 57469d334d89..08a6738c488c 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -1328,7 +1328,7 @@ const FormulaToken* FormulaTokenIterator::GetNonEndOfPathToken( short nIdx ) con
bool FormulaTokenIterator::IsEndOfPath() const
{
- return GetNonEndOfPathToken( pCur->nPC + 1) != NULL;
+ return GetNonEndOfPathToken( pCur->nPC + 1) == NULL;
}
// -----------------------------------------------------------------------------