diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-14 10:50:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 09:43:03 +0200 |
commit | eae8f8b8b45460e4cab11818adb3713b17929713 (patch) | |
tree | b429c662a889eabaec23138b363130d419cecebd /sc/source/core/tool/sharedformula.cxx | |
parent | 37095b7484b99a86ba81e5fb64aa5426a98e9183 (diff) |
EndListeningTo always dereferences its argument
Change-Id: I0e61c1c367a0ffcd8acbf3202293833886a59c42
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102661
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/tool/sharedformula.cxx')
-rw-r--r-- | sc/source/core/tool/sharedformula.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/sharedformula.cxx b/sc/source/core/tool/sharedformula.cxx index 104c9d8d4629..9383abb3cb94 100644 --- a/sc/source/core/tool/sharedformula.cxx +++ b/sc/source/core/tool/sharedformula.cxx @@ -85,7 +85,7 @@ bool SharedFormulaUtil::splitFormulaCellGroup(const CellStoreType::position_type if (pCxt) rPrevTop.EndListeningTo(*pCxt); else - rPrevTop.EndListeningTo( rPrevTop.GetDocument(), nullptr, ScAddress( ScAddress::UNINITIALIZED)); + rPrevTop.EndListeningTo( *rPrevTop.GetDocument(), nullptr, ScAddress( ScAddress::UNINITIALIZED)); rPrevTop.SetNeedsListening(true); // The new group or remaining single cell needs a new listening. |