summaryrefslogtreecommitdiff
path: root/sc/inc/token.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-22 15:56:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-23 09:30:08 +0200
commit7281580ef0cdfa1ba0858f1f918a6735108d124f (patch)
treef8c1511961df69a8b55a96e88264efa9745c61ca /sc/inc/token.hxx
parent6a7649f6a7e37d7427254cd34042e480c3a0e6f7 (diff)
Turn virtual ScToken::Dump into a single free function DumpToken
Change-Id: I2c81f24a27ede9922ed8ff16cf0ea4af824e9e59
Diffstat (limited to 'sc/inc/token.hxx')
-rw-r--r--sc/inc/token.hxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 300183319ac7..54c5dc7f1427 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -89,11 +89,11 @@ public:
virtual ScJumpMatrix* GetJumpMatrix() const;
virtual const ScRefList* GetRefList() const;
virtual ScRefList* GetRefList();
+};
#if DEBUG_FORMULA_COMPILER
- virtual void Dump() const;
+void DumpToken(ScToken const & rToken);
#endif
-};
/** If rTok1 and rTok2 both are SingleRef or DoubleRef tokens, extend/merge
ranges as needed for ocRange.
@@ -134,9 +134,6 @@ public:
virtual bool operator==( const formula::FormulaToken& rToken ) const SAL_OVERRIDE;
virtual FormulaToken* Clone() const SAL_OVERRIDE { return new ScSingleRefToken(*this); }
-#if DEBUG_FORMULA_COMPILER
- virtual void Dump() const SAL_OVERRIDE;
-#endif
DECL_FIXEDMEMPOOL_NEWDEL( ScSingleRefToken );
};
@@ -165,9 +162,6 @@ public:
virtual bool operator==( const formula::FormulaToken& rToken ) const SAL_OVERRIDE;
virtual FormulaToken* Clone() const SAL_OVERRIDE { return new ScDoubleRefToken(*this); }
-#if DEBUG_FORMULA_COMPILER
- virtual void Dump() const SAL_OVERRIDE;
-#endif
DECL_FIXEDMEMPOOL_NEWDEL( ScDoubleRefToken );
};