diff options
author | Eike Rathke <erack@redhat.com> | 2016-07-14 22:31:14 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-07-14 22:31:20 +0200 |
commit | 908449639beaeafb04b9a9668ee20b0042389426 (patch) | |
tree | c583dc0bda059aff23575a63223faf90d05572dc /include/formula | |
parent | f9021f7eea06b1e5498534988f95e9cdbb79bc11 (diff) |
let FormulaTokenArray::RemoveToken() return the actual count of tokens removed
Change-Id: Iebf654e7b4c682036b4ff334298948557b755eac
Diffstat (limited to 'include/formula')
-rw-r--r-- | include/formula/tokenarray.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx index e7f32316eae2..b1d2deb3318d 100644 --- a/include/formula/tokenarray.hxx +++ b/include/formula/tokenarray.hxx @@ -166,8 +166,10 @@ protected: Start offset into pCode. @param nCount Count of tokens to remove. + + @return Count of tokens removed. */ - void RemoveToken( sal_uInt16 nOffset, sal_uInt16 nCount ); + sal_uInt16 RemoveToken( sal_uInt16 nOffset, sal_uInt16 nCount ); inline void SetCombinedBitsRecalcMode( ScRecalcMode nBits ) { nMode |= (nBits & ~RECALCMODE_EMASK); } |