summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-03-06 22:39:53 +0100
committerEike Rathke <erack@redhat.com>2015-03-07 00:24:45 +0100
commit40c9a46b78b8919aae82dd9b94774d63bb9cb4e6 (patch)
treefbc51a26cea27cb11193433bf2c73043bc4b7a57 /include/formula
parentbc4293bde13001a5e959ff90c189111932c05b3b (diff)
add FormulaTokenArray::ReplaceToken()
Change-Id: I42c893677c1b8a35ee502a9ae438d4c0f19867d3
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/tokenarray.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx
index 244a7b96b427..c70e6c1db573 100644
--- a/include/formula/tokenarray.hxx
+++ b/include/formula/tokenarray.hxx
@@ -115,6 +115,10 @@ protected:
/// Also used by the compiler. The token MUST had been allocated with new!
FormulaToken* Add( FormulaToken* );
+ /** Also used by the compiler. The token MUST had been allocated with new!
+ @param nOffset negative offset of token, 0==last, 1==previous, ...
+ */
+ FormulaToken* ReplaceToken( sal_uInt16 nOffset, FormulaToken* );
inline void SetCombinedBitsRecalcMode( ScRecalcMode nBits )
{ nMode |= (nBits & ~RECALCMODE_EMASK); }
inline ScRecalcMode GetCombinedBitsRecalcMode() const