diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-02-04 23:19:00 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2014-02-05 10:16:09 +0000 |
commit | 6c820a2816ab3b90c4166ffdc532ad0a17af019b (patch) | |
tree | f500e028204d03fbe90ef5f6200d365003b86f9c /basic | |
parent | 970df64bc975a0a8aaae19bf46157c27f34f9a35 (diff) |
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@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/exprgen.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/comp/exprgen.cxx b/basic/source/comp/exprgen.cxx index b24bbc2a8920..93ca51ef9aaf 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; |