diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-24 16:19:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-25 20:47:45 +0200 |
commit | bb124949140ce37f081340168f64a69b8bc5668b (patch) | |
tree | 98c4249770189c06baae31ba585566283f7d9de2 /sc/source/ui/view/cellsh2.cxx | |
parent | e2cea687d4275c31b780bfe8307daed552e45da0 (diff) |
change pointers to references where never possible to be nullptrs
and drop some null checks then shown not to be needed
Change-Id: I2806eeb64f43072a34aecd46424dbd063a119b7c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103356
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index d0d005ef3ac0..5866cad52d6b 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -764,7 +764,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) ScDataProviderDlg aDialog(pTabViewShell->GetDialogParent(), xDoc, &rDoc); if (aDialog.run() == RET_OK) { - aDialog.import(&rDoc); + aDialog.import(rDoc); } } break; |