diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-13 15:32:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-13 21:18:28 +0200 |
commit | 61fa9c8cbf1792fad2bdc8f86a2825f759d18950 (patch) | |
tree | f05868a3e5cd47d4be066e6f52b44e0b09d89f88 /sc/source/core/data/column.cxx | |
parent | 3e6f94da60ca9de99ca0f805a36ab2473cf30e78 (diff) |
ScFormulaCell ctor variant never passed a null ScDocument
Change-Id: Ic96245d22c717d4360fe73855aaca9eaa1fd206d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102587
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/data/column.cxx')
-rw-r--r-- | sc/source/core/data/column.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx index e7123988262b..fec0cb3de38e 100644 --- a/sc/source/core/data/column.cxx +++ b/sc/source/core/data/column.cxx @@ -2340,7 +2340,7 @@ class UpdateRefOnNonCopy aUndoPos.IncRow(); for (SCROW i = 1; i < nLength; ++i, aUndoPos.IncRow()) { - pFC = new ScFormulaCell(mpUndoDoc, aUndoPos, xGroup); + pFC = new ScFormulaCell(*mpUndoDoc, aUndoPos, xGroup); aCells.push_back(pFC); } |