diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-15 18:30:52 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-06-15 19:43:31 +0200 |
commit | 06ed48f0895bf86f915421ecad23ca2a23116f25 (patch) | |
tree | 9683092ba786ab41460e96072dbed48a1b5c642b /include | |
parent | 90c595d054f396d3caa2a868a9b2193f5ac30e8d (diff) |
Make ReplaceMode accessible from ScCompiler::CompileString
(cherry picked from commit dbd093176ee8d2185205e7d29fcd0949c074dc85)
Fix previous commit
(cherry picked from commit f96313d16163ce66c2fa04c99fa25b7c6da1c5b1)
56b5212595f7750965a7620498fb063422f2eae0
Change-Id: If25443f27ff09aca8b38d00ab80ecfdc00ab2642
Diffstat (limited to 'include')
-rw-r--r-- | include/formula/tokenarray.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx index d06d3e1a0f25..1050047af137 100644 --- a/include/formula/tokenarray.hxx +++ b/include/formula/tokenarray.hxx @@ -123,12 +123,14 @@ protected: /// Also used by the compiler. The token MUST had been allocated with new! FormulaToken* Add( FormulaToken* ); +public: enum ReplaceMode { BACKWARD_CODE_ONLY, ///< offset goes backward, replacement only in pCode FORWARD_CODE_AND_RPN ///< offset goes forward, replacement in pCode and RPN }; +protected: /** Also used by the compiler. The token MUST had been allocated with new! @param nOffset If eMode==BACKWARD_CODE_ONLY negative offset of token, 0==last, |