[Libreoffice-commits] core.git: formula/source

Eike Rathke erack at redhat.com
Wed May 21 03:46:11 PDT 2014


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

New commits:
commit 636581bf87e2a792672845d7c945f1b22a22ffdb
Author: Eike Rathke <erack at redhat.com>
Date:   Wed May 21 12:45:24 2014 +0200

    most certainly == was meant
    
    Change-Id: I1b0833daa576cd8603421e1036b8773badc8c775

diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 30b0e16..5309a40 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -690,7 +690,7 @@ void FormulaTokenArray::Assign( const FormulaTokenArray& r )
 /// Optimisiation for efficiently creating StringXML placeholders
 void FormulaTokenArray::Assign( sal_uInt16 nCode, FormulaToken **pTokens )
 {
-    assert( nLen = 0 );
+    assert( nLen == 0 );
     assert( pCode == NULL );
 
     nLen = nCode;


More information about the Libreoffice-commits mailing list