diff options
-rw-r--r-- | sc/source/core/data/formulacell.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index 33499badc26a..85b0f8308f3e 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -881,8 +881,10 @@ ScFormulaCell::ScFormulaCell( const ScFormulaCell& rCell, ScDocument& rDoc, cons if ( !bCompileLater && bClipMode ) { // Merging ranges needs the actual positions after UpdateReference. - // ColRowNames need new lookup after positions are adjusted. - bCompileLater = pCode->HasOpCode( ocRange) || pCode->HasOpCode( ocColRowName); + // ColRowNames and TableRefs need new lookup after positions are + // adjusted. + bCompileLater = pCode->HasOpCode( ocRange) || pCode->HasOpCode( ocColRowName) || + pCode->HasOpCode( ocTableRef); } if ( !bCompileLater ) { |