summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-09-25 13:30:43 +0200
committerEike Rathke <erack@redhat.com>2017-09-25 13:39:41 +0200
commit1015e1f6f0fc14ce988e7b2e8c8eab5c397c00ab (patch)
tree294f61d914355330d7aacfa8cb4c8ee9866924c7 /include
parent65ec980667d290fd9cf0a9b119f52c86bccf17df (diff)
FormulaTokenArray::Clear() virtual, ScTokenArray::Clear() overrides
A sliced Clear()/ClearScTokenArray() was never intended. Change-Id: I25df3fa8829f6bc8f1dee6ef0d27b28491d6a5c3
Diffstat (limited to 'include')
-rw-r--r--include/formula/tokenarray.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx
index 891b793c3f10..92c39bd4c60a 100644
--- a/include/formula/tokenarray.hxx
+++ b/include/formula/tokenarray.hxx
@@ -297,6 +297,8 @@ public:
FormulaTokenArray( const FormulaTokenArray& );
virtual ~FormulaTokenArray();
+ virtual void Clear();
+
void SetFromRangeName( bool b ) { mbFromRangeName = b; }
bool IsFromRangeName() const { return mbFromRangeName; }
@@ -310,7 +312,6 @@ public:
*/
bool IsShareable() const { return mbShareable; }
- void Clear();
void DelRPN();
FormulaToken* FirstToken() const;