summaryrefslogtreecommitdiff
path: root/include/basic
diff options
context:
space:
mode:
Diffstat (limited to 'include/basic')
-rw-r--r--include/basic/sbxmeth.hxx6
-rw-r--r--include/basic/sbxobj.hxx2
2 files changed, 6 insertions, 2 deletions
diff --git a/include/basic/sbxmeth.hxx b/include/basic/sbxmeth.hxx
index 6d8be5c51d62..e7d9cae5c17e 100644
--- a/include/basic/sbxmeth.hxx
+++ b/include/basic/sbxmeth.hxx
@@ -25,14 +25,18 @@
class BASIC_DLLPUBLIC SbxMethod : public SbxVariable
{
+ bool mbIsRuntimeFunction;
+ SbxDataType mbRuntimeFunctionReturnType;
public:
SBX_DECL_PERSIST_NODATA(SBXCR_SBX,SBXID_METHOD,1);
TYPEINFO_OVERRIDE();
- SbxMethod( const OUString& r, SbxDataType t );
+ SbxMethod( const OUString& r, SbxDataType t, bool bIsRuntimeFunction=false );
SbxMethod( const SbxMethod& r );
virtual ~SbxMethod();
SbxMethod& operator=( const SbxMethod& r ) { SbxVariable::operator=( r ); return *this; }
virtual SbxClassType GetClass() const SAL_OVERRIDE;
+ bool IsRuntimeFunction() const { return mbIsRuntimeFunction; }
+ SbxDataType GetRuntimeFunctionReturnType() const{ return mbRuntimeFunctionReturnType; }
};
#endif
diff --git a/include/basic/sbxobj.hxx b/include/basic/sbxobj.hxx
index c6c09cf5ffe8..004e14b34d3d 100644
--- a/include/basic/sbxobj.hxx
+++ b/include/basic/sbxobj.hxx
@@ -68,7 +68,7 @@ public:
SbxVariable* Execute( const OUString& );
// Manage elements
virtual bool GetAll( SbxClassType ) { return true; }
- SbxVariable* Make( const OUString&, SbxClassType, SbxDataType );
+ SbxVariable* Make( const OUString&, SbxClassType, SbxDataType, bool bIsRuntimeFunction = false );
virtual SbxObject* MakeObject( const OUString&, const OUString& );
virtual void Insert( SbxVariable* );
// AB 23.4.1997, Optimization, Insertion without check for duplicate Entries and