[Libreoffice-commits] core.git: basic/source
Michael Stahl
mstahl at redhat.com
Wed Feb 5 02:16:36 PST 2014
basic/source/comp/exprgen.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6c820a2816ab3b90c4166ffdc532ad0a17af019b
Author: Michael Stahl <mstahl at redhat.com>
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 <noel.power at suse.com>
Tested-by: Noel Power <noel.power at suse.com>
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;
More information about the Libreoffice-commits
mailing list