diff options
Diffstat (limited to 'include/formula/token.hxx')
-rw-r--r-- | include/formula/token.hxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/include/formula/token.hxx b/include/formula/token.hxx index d464ec67d39e..6d2851e4edfe 100644 --- a/include/formula/token.hxx +++ b/include/formula/token.hxx @@ -121,7 +121,7 @@ inline std::string StackVarEnumToString(StackVar const e) return os.str(); } -class FORMULA_DLLPUBLIC FormulaToken : public IFormulaToken +class FORMULA_DLLPUBLIC FormulaToken { OpCode eOp; FormulaToken& operator=( const FormulaToken& ) = delete; @@ -139,7 +139,7 @@ public: void Delete() { delete this; } void DeleteIfZeroRef() { if (mnRefCnt == 0) delete this; } StackVar GetType() const { return eType; } - bool IsFunction() const; // pure functions, no operators + bool IsFunction() const; // pure functions, no operators bool IsExternalRef() const; bool IsRef() const; @@ -214,16 +214,6 @@ public: virtual bool TextEqual( const formula::FormulaToken& rToken ) const; virtual bool operator==( const FormulaToken& rToken ) const; - virtual bool isFunction() const override - { - return IsFunction(); - } - - virtual sal_uInt32 getArgumentCount() const override - { - return GetParamCount(); - } - /** This is dirty and only the compiler should use it! */ struct PrivateAccess { friend class FormulaCompiler; private: PrivateAccess() { } }; void NewOpCode( OpCode e, const PrivateAccess& ) { eOp = e; } |