diff options
author | Eike Rathke <erack@redhat.com> | 2017-05-09 23:30:39 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-05-10 00:39:58 +0200 |
commit | 1cf44947161d8fff6e3edb3f7a1dd01c81963b42 (patch) | |
tree | f3b42e42f4d6a4b11e022cc57b0f775f5a607973 /sc/source/core/tool/token.cxx | |
parent | 47023116d6bf89bb2e0b8b5293272f63db32fbc2 (diff) |
Hold ParamClass at FormulaByteToken instead of bool, tdf#107724 prep
* change IsInForceArray() to GetInForceArray()
* add IsInForceArray() to keep previous functionality
Change-Id: I64c891486e548a66539646846a4691a213c783ac
Diffstat (limited to 'sc/source/core/tool/token.cxx')
-rw-r--r-- | sc/source/core/tool/token.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index e511d98de1aa..99cf86f266ba 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -259,7 +259,7 @@ void ScRawToken::SetOpCode( OpCode e ) default: eType = svByte; sbyte.cByte = 0; - sbyte.bIsInForceArray = false; + sbyte.eInForceArray = ParamClass::Unknown; } } @@ -388,7 +388,7 @@ FormulaToken* ScRawToken::CreateToken() const switch ( GetType() ) { case svByte : - return new FormulaByteToken( eOp, sbyte.cByte, sbyte.bIsInForceArray ); + return new FormulaByteToken( eOp, sbyte.cByte, sbyte.eInForceArray ); case svDouble : IF_NOT_OPCODE_ERROR( ocPush, FormulaDoubleToken); return new FormulaDoubleToken( nValue ); |