Kaydet (Commit) 2dfd58b2 authored tarafından Eike Rathke's avatar Eike Rathke Kaydeden (comit) Andras Timar

recompile TableRef formulas only after position was updated, tdf#91842

Change-Id: Ibdcfdd6175e6ccb8aded02d59b1b21e92a0fc120
(cherry picked from commit 6d7dcb81)
üst a9c94aac
...@@ -881,8 +881,10 @@ ScFormulaCell::ScFormulaCell( const ScFormulaCell& rCell, ScDocument& rDoc, cons ...@@ -881,8 +881,10 @@ ScFormulaCell::ScFormulaCell( const ScFormulaCell& rCell, ScDocument& rDoc, cons
if ( !bCompileLater && bClipMode ) if ( !bCompileLater && bClipMode )
{ {
// Merging ranges needs the actual positions after UpdateReference. // Merging ranges needs the actual positions after UpdateReference.
// ColRowNames need new lookup after positions are adjusted. // ColRowNames and TableRefs need new lookup after positions are
bCompileLater = pCode->HasOpCode( ocRange) || pCode->HasOpCode( ocColRowName); // adjusted.
bCompileLater = pCode->HasOpCode( ocRange) || pCode->HasOpCode( ocColRowName) ||
pCode->HasOpCode( ocTableRef);
} }
if ( !bCompileLater ) if ( !bCompileLater )
{ {
......
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