summaryrefslogtreecommitdiff
path: root/sc/inc/callform.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/callform.hxx')
-rw-r--r--sc/inc/callform.hxx54
1 files changed, 27 insertions, 27 deletions
diff --git a/sc/inc/callform.hxx b/sc/inc/callform.hxx
index dd6f13057d76..163499b637be 100644
--- a/sc/inc/callform.hxx
+++ b/sc/inc/callform.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,20 +32,20 @@
#include "collect.hxx"
//------------------------------------------------------------------------
-#define MAXFUNCPARAM 16
-#define MAXARRSIZE 0xfffe
+#define MAXFUNCPARAM 16
+#define MAXARRSIZE 0xfffe
//------------------------------------------------------------------------
#ifndef WIN
#ifndef WNT
#define CALLTYPE
#else
-#define CALLTYPE __cdecl
+#define CALLTYPE __cdecl
#endif
#else
-#define PASCAL _pascal
-#define FAR _far
-#define CALLTYPE FAR PASCAL
+#define PASCAL _pascal
+#define FAR _far
+#define CALLTYPE FAR PASCAL
#endif
extern "C" {
@@ -69,12 +69,12 @@ class FuncData : public ScDataObject
{
friend class FuncCollection;
const ModuleData* pModuleData;
- String aInternalName;
- String aFuncName;
+ String aInternalName;
+ String aFuncName;
USHORT nNumber;
- USHORT nParamCount;
- ParamType eAsyncType;
- ParamType eParamType[MAXFUNCPARAM];
+ USHORT nParamCount;
+ ParamType eAsyncType;
+ ParamType eParamType[MAXFUNCPARAM];
private:
FuncData(const String& rIName);
public:
@@ -86,22 +86,22 @@ public:
const ParamType* peType,
ParamType eType);
FuncData(const FuncData& rData);
- virtual ScDataObject* Clone() const { return new FuncData(*this); }
-
- const String& GetModuleName() const;
- const String& GetInternalName() const { return aInternalName; }
- const String& GetFuncName() const { return aFuncName; }
- USHORT GetParamCount() const { return nParamCount; }
- ParamType GetParamType(USHORT nIndex) const { return eParamType[nIndex]; }
- ParamType GetReturnType() const { return eParamType[0]; }
- ParamType GetAsyncType() const { return eAsyncType; }
+ virtual ScDataObject* Clone() const { return new FuncData(*this); }
+
+ const String& GetModuleName() const;
+ const String& GetInternalName() const { return aInternalName; }
+ const String& GetFuncName() const { return aFuncName; }
+ USHORT GetParamCount() const { return nParamCount; }
+ ParamType GetParamType(USHORT nIndex) const { return eParamType[nIndex]; }
+ ParamType GetReturnType() const { return eParamType[0]; }
+ ParamType GetAsyncType() const { return eAsyncType; }
BOOL Call(void** ppParam);
- BOOL Unadvice(double nHandle);
+ BOOL Unadvice(double nHandle);
// Name und Beschreibung des Parameters nParam.
// nParam==0 => Desc := Funktions-Beschreibung,
// Name := n/a
- BOOL GetParamDesc( String& aName, String& aDesc, USHORT nParam );
+ BOOL GetParamDesc( String& aName, String& aDesc, USHORT nParam );
};
@@ -112,10 +112,10 @@ public:
FuncCollection(USHORT nLim = 4, USHORT nDel = 4, BOOL bDup = FALSE) : ScSortedCollection ( nLim, nDel, bDup ) {}
FuncCollection(const FuncCollection& rFuncCollection) : ScSortedCollection ( rFuncCollection ) {}
- virtual ScDataObject* Clone() const { return new FuncCollection(*this); }
- FuncData* operator[]( const USHORT nIndex) const {return (FuncData*)At(nIndex);}
- virtual short Compare(ScDataObject* pKey1, ScDataObject* pKey2) const;
- BOOL SearchFunc( const String& rName, USHORT& rIndex ) const;
+ virtual ScDataObject* Clone() const { return new FuncCollection(*this); }
+ FuncData* operator[]( const USHORT nIndex) const {return (FuncData*)At(nIndex);}
+ virtual short Compare(ScDataObject* pKey1, ScDataObject* pKey2) const;
+ BOOL SearchFunc( const String& rName, USHORT& rIndex ) const;
};