summaryrefslogtreecommitdiff
path: root/basic/source/comp/exprgen.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-27 13:04:00 +0200
committerNoel Grandin <noel@peralex.com>2015-07-28 08:35:34 +0200
commitb1c25a0d8fa2f8effc501cc100b0c07f79437e8e (patch)
treea9d0dac27fd41ebb88775fdf3605fb1aabb8299e /basic/source/comp/exprgen.cxx
parent4eeeec899f44d2010189251c0f09120ade202dd8 (diff)
inline "old" SbERR constants
Change-Id: I3e6665351de97692ae70207e8b623ad008ca8c9a
Diffstat (limited to 'basic/source/comp/exprgen.cxx')
-rw-r--r--basic/source/comp/exprgen.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/comp/exprgen.cxx b/basic/source/comp/exprgen.cxx
index c0e619c0d10d..cfce00682668 100644
--- a/basic/source/comp/exprgen.cxx
+++ b/basic/source/comp/exprgen.cxx
@@ -173,7 +173,7 @@ void SbiExprNode::GenElement( SbiCodeGen& rGen, SbiOpcode eOp )
{
#ifdef DBG_UTIL
if ((eOp < _RTL || eOp > _CALLC) && eOp != _FIND_G && eOp != _FIND_CM && eOp != _FIND_STATIC)
- rGen.GetParser()->Error( SbERR_INTERNAL_ERROR, "Opcode" );
+ rGen.GetParser()->Error( ERRCODE_BASIC_INTERNAL_ERROR, "Opcode" );
#endif
SbiSymDef* pDef = aVar.pDef;
// The ID is either the position or the String-ID
@@ -228,7 +228,7 @@ void SbiExprList::Gen()
if( pProc )
{
// For the present: trigger an error
- pParser->Error( SbERR_NO_NAMED_ARGS );
+ pParser->Error( ERRCODE_BASIC_NO_NAMED_ARGS );
// Later, if Named Args at DECLARE is possible
//for( sal_uInt16 i = 1 ; i < nParAnz ; i++ )