summaryrefslogtreecommitdiff
path: root/basic/source/comp
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-01-28 15:06:49 +0000
committerRüdiger Timm <rt@openoffice.org>2005-01-28 15:06:49 +0000
commit88405f0ae1913a87443c9a2494269ac4345b8ddd (patch)
tree82af0329194d26a15b18068116b122739a06d3ae /basic/source/comp
parentc115c0a79aa576e695801aa00527c22af172572a (diff)
INTEGRATION: CWS ab13fixes (1.9.18); FILE MERGED
2005/01/20 16:18:58 ab 1.9.18.1: #111897# Handle ParamArray like an optional parameter
Diffstat (limited to 'basic/source/comp')
-rw-r--r--basic/source/comp/symtbl.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx
index 98590282989f..cb5d63a8bbd4 100644
--- a/basic/source/comp/symtbl.cxx
+++ b/basic/source/comp/symtbl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: symtbl.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: pjunck $ $Date: 2004-11-02 11:54:38 $
+ * last change: $Author: rt $ $Date: 2005-01-28 16:06:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -330,6 +330,7 @@ SbiSymDef::SbiSymDef( const String& rName ) : aName( rName )
bNew =
bStatic =
bOpt =
+ bParamArray =
bByVal =
bChained =
bGlobal = FALSE;
@@ -485,7 +486,7 @@ void SbiProcDef::Match( SbiProcDef* pOld )
// Kein Typabgleich; das wird beim Laufen erledigt
// aber ist sie evtl. mit zu wenigen Parametern aufgerufen
// worden?
- if( !po && !pn->IsOptional() )
+ if( !po && !pn->IsOptional() && !pn->IsParamArray() )
break;
po = pOld->aParams.Next();
}