diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-05 19:46:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-06 10:55:18 +0200 |
commit | 1aee8678c83c637a2d5c1e0a716528b0bcf11de0 (patch) | |
tree | 922a5e37d98f547bf0880c2e57a8bbedd0709a63 /sw | |
parent | 373da7a00986ea95ce959242c0876a5eaf18a1b6 (diff) |
drop intermediate vcl::Window from Application::GetDefDialogParent
Change-Id: I96be984cbefeb8e45bf49de4c50a225a46fbefb6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120089
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/dbui/mmresultdialogs.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx index cc659cbebd74..ab41dcb4693c 100644 --- a/sw/source/ui/dbui/mmresultdialogs.cxx +++ b/sw/source/ui/dbui/mmresultdialogs.cxx @@ -1075,8 +1075,7 @@ IMPL_LINK_NOARG(SwMMResultEmailDialog, SendDocumentsHdl_Impl, weld::Button&, voi xStore->storeToURL( sTargetTempURL, aValues ); //create the send dialog - vcl::Window* pParent = Application::GetDefDialogParent(); - std::shared_ptr<SwSendMailDialog> xDlg = std::make_shared<SwSendMailDialog>(pParent ? pParent->GetFrameWeld() : nullptr, *xConfigItem); + std::shared_ptr<SwSendMailDialog> xDlg = std::make_shared<SwSendMailDialog>(Application::GetDefDialogParent(), *xConfigItem); xDlg->StartSend(nEnd - nBegin); weld::DialogController::runAsync(xDlg, [](sal_Int32 /*nResult*/){}); |