diff options
author | Thomas Benisch <tbe@openoffice.org> | 2003-10-28 12:47:30 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2003-10-28 12:47:30 +0000 |
commit | 29f9a0129fc13ba98638d24699ade04e9fd543ed (patch) | |
tree | b674c6c16929c20c5b585bb1758d1ac7a2a99466 | |
parent | 522147a7ebfde3f52e991e4365923891b315a3fd (diff) |
#i21580# cannot execute simple basic script via initiate event on button
-rw-r--r-- | scripting/source/basprov/basscript.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting/source/basprov/basscript.cxx b/scripting/source/basprov/basscript.cxx index 8c1a17eddf3e..3d1dd5470a85 100644 --- a/scripting/source/basprov/basscript.cxx +++ b/scripting/source/basprov/basscript.cxx @@ -2,9 +2,9 @@ * * $RCSfile: basscript.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: tbe $ $Date: 2003-09-23 10:03:54 $ + * last change: $Author: tbe $ $Date: 2003-10-28 13:47:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -147,7 +147,7 @@ namespace basprov nSbxOptional = 0; } sal_Int32 nSbxCount = n - 1; - if ( ( nParamsCount < nSbxCount - nSbxOptional ) || ( nParamsCount > nSbxCount ) ) + if ( nParamsCount < nSbxCount - nSbxOptional ) { throw IllegalArgumentException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BasicScriptImpl::invoke: wrong number of paramters!" ) ), |