diff options
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/config/mailconfigpage.cxx | 7 | ||||
-rw-r--r-- | sw/source/ui/dbui/mmresultdialogs.cxx | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sw/source/ui/config/mailconfigpage.cxx b/sw/source/ui/config/mailconfigpage.cxx index 7d73d5e1c669..84a55e3e2d71 100644 --- a/sw/source/ui/config/mailconfigpage.cxx +++ b/sw/source/ui/config/mailconfigpage.cxx @@ -373,11 +373,12 @@ void SwTestAccountSettingsDialog::Test() } } -SwMailConfigDlg::SwMailConfigDlg(vcl::Window* pParent, SfxItemSet& rSet) - : SfxSingleTabDialog(pParent, rSet) +SwMailConfigDlg::SwMailConfigDlg(weld::Window* pParent, SfxItemSet& rSet) + : SfxSingleTabDialogController(pParent, rSet) { + TabPageParent pPageParent(get_content_area(), this); // create TabPage - SetTabPage(SwMailConfigPage::Create(get_content_area(), &rSet)); + SetTabPage(SwMailConfigPage::Create(pPageParent, &rSet)); } SwAuthenticationSettingsDialog::SwAuthenticationSettingsDialog( diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx index f8a9ed00178c..e54ba944f16c 100644 --- a/sw/source/ui/dbui/mmresultdialogs.cxx +++ b/sw/source/ui/dbui/mmresultdialogs.cxx @@ -884,8 +884,8 @@ IMPL_LINK(SwMMResultEmailDialog, SendDocumentsHdl_Impl, Button*, pButton, void) { SwView* pConfigView = pTargetView ? pTargetView : pView; SfxAllItemSet aSet(pConfigView->GetPool()); - ScopedVclPtrInstance< SwMailConfigDlg > pDlg(pButton, aSet); - nRet = pDlg->Execute(); + SwMailConfigDlg aDlg(pButton->GetFrameWeld(), aSet); + nRet = aDlg.run(); } if(nRet != RET_OK && nRet != RET_YES) |