basic/source/comp/exprgen.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6c820a2816ab3b90c4166ffdc532ad0a17af019b
Author: Michael Stahl <[email protected]>
Date:   Tue Feb 4 23:19:00 2014 +0100

    basic: _FIND_STATIC likely not an error in SbiExprNode::GenElement()
    
    All other _FIND_* are explicitly not errors, and probably CWS npower10
    forgot to adapt this assertion.
    
    Change-Id: If721c275eb1bc31d76140898602b41e11c23d82e
    Reviewed-on: https://gerrit.libreoffice.org/7863
    Reviewed-by: Noel Power <[email protected]>
    Tested-by: Noel Power <[email protected]>

diff --git a/basic/source/comp/exprgen.cxx b/basic/source/comp/exprgen.cxx
index b24bbc2..93ca51e 100644
--- a/basic/source/comp/exprgen.cxx
+++ b/basic/source/comp/exprgen.cxx
@@ -171,7 +171,7 @@ void SbiExprNode::Gen( RecursiveMode eRecMode )
 void SbiExprNode::GenElement( SbiOpcode eOp )
 {
 #ifdef DBG_UTIL
-    if( (eOp < _RTL || eOp > _CALLC) && eOp != _FIND_G && eOp != _FIND_CM )
+    if ((eOp < _RTL || eOp > _CALLC) && eOp != _FIND_G && eOp != _FIND_CM && 
eOp != _FIND_STATIC)
         pGen->GetParser()->Error( SbERR_INTERNAL_ERROR, "Opcode" );
 #endif
     SbiSymDef* pDef = aVar.pDef;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to