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/filter/oox/formulabuffer.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/filter/oox/formulabuffer.cxx')
-rw-r--r-- | sc/source/filter/oox/formulabuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx index 0d1855468bf1..85cc5629c3f4 100644 --- a/sc/source/filter/oox/formulabuffer.cxx +++ b/sc/source/filter/oox/formulabuffer.cxx @@ -221,7 +221,7 @@ void applyCellFormulas( } ++xGroup->mnLength; - pCell = new ScFormulaCell(&rDoc.getDoc(), aPos, xGroup); + pCell = new ScFormulaCell(rDoc.getDoc(), aPos, xGroup); } else pCell = new ScFormulaCell(&rDoc.getDoc(), aPos, p->mpCell->GetCode()->Clone()); |