diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-14 12:27:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 15:27:21 +0200 |
commit | 2ee88d0ebe767ccd5f49300be5bd675edec0c2cf (patch) | |
tree | c0ecf2bf312bd5c1774b89f0defb9728b3301417 /sc/source/core/tool/interpr1.cxx | |
parent | bc2cec8162a184b1a44cc37766924d65e57c4ce7 (diff) |
ConvertSingleRef never passed a null ScDocument*
Change-Id: I1ce4f369d8078e1950204b3046457582d9d67397
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102736
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/tool/interpr1.cxx')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 3c6dea7ce105..7e906aa18ea5 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -8106,8 +8106,8 @@ void ScInterpreter::ScIndirect() else PushDoubleRef( aRefAd, aRefAd2); } - else if ( ConvertSingleRef(&mrDoc, sRefStr, nTab, aRefAd, aDetails, &aExtInfo) || - ( bTryXlA1 && ConvertSingleRef (&mrDoc, sRefStr, nTab, aRefAd, + else if ( ConvertSingleRef(mrDoc, sRefStr, nTab, aRefAd, aDetails, &aExtInfo) || + ( bTryXlA1 && ConvertSingleRef (mrDoc, sRefStr, nTab, aRefAd, aDetailsXlA1, &aExtInfo) ) ) { if (aExtInfo.mbExternal) |