diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-23 08:54:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-23 22:25:34 +0200 |
commit | 428d17a2ed068dcbb21eb66338ee7fcf2cfa8929 (patch) | |
tree | f84f14c91fa8661b89413db29bfbfe01cf2580f9 /sc/source/core/tool/interpr2.cxx | |
parent | df7abb6981546aebebe69dc944f2a6555a7b669c (diff) |
some places where ScDocument* is never passed a nullptr
and so some nullptr checks can be removed
Change-Id: I7dedc2c6d054d9749db9766eaa3a5681842b2b69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103239
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/tool/interpr2.cxx')
-rw-r--r-- | sc/source/core/tool/interpr2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index 4526bd89a0db..e3ef57037476 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -2783,7 +2783,7 @@ void ScInterpreter::ScDde() if (!pLink) { - pLink = new ScDdeLink( &mrDoc, aAppl, aTopic, aItem, nMode ); + pLink = new ScDdeLink( mrDoc, aAppl, aTopic, aItem, nMode ); mpLinkManager->InsertDDELink( pLink, aAppl, aTopic, aItem ); if ( mpLinkManager->GetLinks().size() == 1 ) // the first one? { |