[Libreoffice-commits] .: formula/source

Eike Rathke erack at kemper.freedesktop.org
Wed Aug 24 12:43:26 PDT 2011


 formula/source/core/api/token.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22a821239eae392704be9dc0a38d117dd11ee8f3
Author: Eike Rathke <erack at erack.de>
Date:   Wed Aug 24 21:38:16 2011 +0200

    fdo#39192 correctly calculate jump matrix; end of path if NULL

diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 57469d3..08a6738 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;
 }
 
 // -----------------------------------------------------------------------------


More information about the Libreoffice-commits mailing list