[Libreoffice-commits] core.git: include/formula
Stephan Bergmann
sbergman at redhat.com
Mon Jun 15 09:34:35 PDT 2015
include/formula/tokenarray.hxx | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
New commits:
commit f96313d16163ce66c2fa04c99fa25b7c6da1c5b1
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jun 15 18:34:00 2015 +0200
Fix previous commit
Change-Id: I56b5212595f7750965a7620498fb063422f2eae0
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx
index 991621d..1050047 100644
--- a/include/formula/tokenarray.hxx
+++ b/include/formula/tokenarray.hxx
@@ -123,6 +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,
@@ -150,12 +158,6 @@ 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& );
More information about the Libreoffice-commits
mailing list