diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-13 15:06:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-13 21:17:36 +0200 |
commit | 862bd0d7f7a13f41f3489d2b926c3a229253c6b9 (patch) | |
tree | 819e3192902dfa46e971e0c103ee7f18c0bfd7b7 /sc/source/core/data/documen2.cxx | |
parent | b4983e9607134bcf803a895a632412526c2cfe41 (diff) |
CompileFormulaContext never constructed with a null ScDocument
Change-Id: I0c88a9383e52a7406b466a82cda8f54a0a7722c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102585
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/data/documen2.cxx')
-rw-r--r-- | sc/source/core/data/documen2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index 9d8ed27a82ce..34af43060d15 100644 --- a/sc/source/core/data/documen2.cxx +++ b/sc/source/core/data/documen2.cxx @@ -991,7 +991,7 @@ sal_uLong ScDocument::TransferTab( ScDocument* pSrcDoc, SCTAB nSrcPos, // Readjust self-contained absolute references to this sheet maTabs[nDestPos]->TestTabRefAbs(nSrcPos); - sc::CompileFormulaContext aFormulaCxt(this); + sc::CompileFormulaContext aFormulaCxt(*this); maTabs[nDestPos]->CompileAll(aFormulaCxt); } |