diff options
Diffstat (limited to 'sc/source/core/data/table2.cxx')
-rw-r--r-- | sc/source/core/data/table2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index c8bb3ae35b48..f54912bce8d6 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -3512,7 +3512,7 @@ void ScTable::CopyData( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW n if (aCell.meType == CELLTYPE_FORMULA) { - sc::RefUpdateContext aCxt; + sc::RefUpdateContext aCxt(*pDocument); aCxt.meMode = URM_COPY; aCxt.maRange = aRange; aCxt.mnColDelta = nDestCol - nStartCol; |