Kaydet (Commit) 338d006c authored tarafından Eike Rathke's avatar Eike Rathke

use ScTableRefToken in ScRawToken::CreateToken()

Change-Id: I895f142667a593bc5fc4f33f2417cbee991e503a
üst 20e95bcd
......@@ -136,6 +136,9 @@ public:
bool bGlobal;
sal_uInt16 nIndex;
} name;
struct {
sal_uInt16 nIndex;
} table;
struct {
rtl_uString* mpData;
rtl_uString* mpDataIgnoreCase;
......
......@@ -328,7 +328,10 @@ FormulaToken* ScRawToken::CreateToken() const
IF_NOT_OPCODE_ERROR( ocPush, ScMatrixToken);
return new ScMatrixToken( pMat );
case svIndex :
return new FormulaIndexToken( eOp, name.nIndex, name.bGlobal);
if (eOp == ocTableRef)
return new ScTableRefToken( table.nIndex);
else
return new FormulaIndexToken( eOp, name.nIndex, name.bGlobal);
case svExternalSingleRef:
{
OUString aTabName(extref.cTabName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment