diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-04-07 13:01:45 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-04-07 13:01:45 +0000 |
commit | 2b14b54765cacc4f55e5a1ebf7f1c0de4fba69b7 (patch) | |
tree | ab1580ac6f9cfe3d99f55c89acbc7f9bc280ac3d /basic | |
parent | 33d5691b34a94249153ba77e170dc7d7ab4dd2e6 (diff) |
INTEGRATION: CWS ab19 (1.7.40); FILE MERGED
2006/03/03 10:38:37 ab 1.7.40.2: RESYNC: (1.7-1.12); FILE MERGED
2005/07/29 12:56:01 ab 1.7.40.1: #111887# SbiExpression::Term(): Fixed parameter checking for arrays
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/exprtree.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx index eb180ea204fe..aa0d60396ab3 100644 --- a/basic/source/comp/exprtree.cxx +++ b/basic/source/comp/exprtree.cxx @@ -4,9 +4,9 @@ * * $RCSfile: exprtree.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: rt $ $Date: 2006-02-09 12:47:18 $ + * last change: $Author: vg $ $Date: 2006-04-07 14:01:45 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -284,8 +284,7 @@ SbiExprNode* SbiExpression::Term() // (Wobei 0 Parameter () entsprechen) if( pDef->GetDims() ) { - if( !pPar - || ( pPar->GetSize() && pPar->GetSize() != pDef->GetDims() ) ) + if( pPar && pPar->GetSize() && pPar->GetSize() != pDef->GetDims() ) pParser->Error( SbERR_WRONG_DIMS ); } if( pDef->IsDefinedAs() ) |