Kaydet (Commit) 3f2c50d0 authored tarafından Eike Rathke's avatar Eike Rathke

TableRef: sheet reference always absolute and 3D

Change-Id: I17a2889c21efe9943b348049a1e9384df167435d
(cherry picked from commit 9e978e58)
üst d461f601
......@@ -5203,12 +5203,7 @@ bool ScCompiler::HandleTableRef()
{
aRefData.SetRowRel( true);
}
if (aRange.aStart.Tab() != aPos.Tab())
aRefData.SetFlag3D( true);
else
{
aRefData.SetTabRel( true);
}
aRefData.SetFlag3D( true);
aRefData.SetAddress( aRange.aStart, aPos);
pTR->SetAreaRefRPN( pNew->AddSingleReference( aRefData ));
}
......@@ -5223,13 +5218,7 @@ bool ScCompiler::HandleTableRef()
aRefData.Ref1.SetRowRel( true);
aRefData.Ref2.SetRowRel( true);
}
if (aRange.aStart.Tab() != aPos.Tab())
aRefData.Ref1.SetFlag3D( true);
else
{
aRefData.Ref1.SetTabRel( true);
aRefData.Ref2.SetTabRel( true);
}
aRefData.Ref1.SetFlag3D( true);
aRefData.SetRange( aRange, aPos);
pTR->SetAreaRefRPN( pNew->AddDoubleReference( aRefData ));
}
......
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