diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-15 18:30:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-15 18:30:52 +0200 |
commit | dbd093176ee8d2185205e7d29fcd0949c074dc85 (patch) | |
tree | 74d375298968c508e76bc8512e9b8503c57e17f5 /include/formula | |
parent | 86bbb304db54befcd3b5b64b112b2a849f9273ae (diff) |
Make ReplaceMode accessible from ScCompiler::CompileString
Change-Id: If25443f27ff09aca8b38d00ab80ecfdc00ab2642
Diffstat (limited to 'include/formula')
-rw-r--r-- | include/formula/tokenarray.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx index d06d3e1a0f25..991621d302d0 100644 --- a/include/formula/tokenarray.hxx +++ b/include/formula/tokenarray.hxx @@ -123,12 +123,6 @@ protected: /// Also used by the compiler. The token MUST had been allocated with new! FormulaToken* Add( FormulaToken* ); - enum ReplaceMode - { - BACKWARD_CODE_ONLY, ///< offset goes backward, replacement only in pCode - FORWARD_CODE_AND_RPN ///< offset goes forward, replacement in pCode and RPN - }; - /** 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, @@ -156,6 +150,12 @@ protected: { nMode = GetCombinedBitsRecalcMode() | nBits; } 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 + }; + FormulaTokenArray(); /// Assignment with references to FormulaToken entries (not copied!) FormulaTokenArray( const FormulaTokenArray& ); |