Kaydet (Commit) 01c2cbcc authored tarafından Andreas Bregas's avatar Andreas Bregas

#104083# SbMethod::Call(): Compile module before calling

üst 6bbc841f
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: sbxmod.cxx,v $ * $RCSfile: sbxmod.cxx,v $
* *
* $Revision: 1.10 $ * $Revision: 1.11 $
* *
* last change: $Author: ab $ $Date: 2002-08-09 10:27:16 $ * last change: $Author: ab $ $Date: 2002-10-25 10:03:13 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -2003,6 +2003,11 @@ ErrCode SbMethod::Call( SbxValue* pRet ) ...@@ -2003,6 +2003,11 @@ ErrCode SbMethod::Call( SbxValue* pRet )
// Values anlegen, um Return-Wert zu erhalten // Values anlegen, um Return-Wert zu erhalten
SbxValues aVals; SbxValues aVals;
aVals.eType = SbxVARIANT; aVals.eType = SbxVARIANT;
// #104083: Compile BEFORE get
if( bInvalid && !pMod->Compile() )
StarBASIC::Error( SbERR_BAD_PROP_VALUE );
Get( aVals ); Get( aVals );
if ( pRet ) if ( pRet )
pRet->Put( aVals ); pRet->Put( aVals );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment