diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-17 09:52:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-17 14:08:07 +0200 |
commit | 6c8c47429936c30ebb760253fa4078c1e410eea5 (patch) | |
tree | f3c6ffeca318801302c7c35a36c69a95c9d52b50 /sw/source/ui/envelp/mailmrge.cxx | |
parent | 2410cce33e9bde53cecd8d2d5a73ab91121567e3 (diff) |
weld SwMailMergeFieldConnectionsDlg
Change-Id: I15ee027db596c98eef878e2e174429c532789dad
Reviewed-on: https://gerrit.libreoffice.org/61871
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui/envelp/mailmrge.cxx')
-rw-r--r-- | sw/source/ui/envelp/mailmrge.cxx | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/sw/source/ui/envelp/mailmrge.cxx b/sw/source/ui/envelp/mailmrge.cxx index 6230ad636d48..9bcd53d6c206 100644 --- a/sw/source/ui/envelp/mailmrge.cxx +++ b/sw/source/ui/envelp/mailmrge.cxx @@ -634,22 +634,14 @@ void SwMailMergeCreateFromDlg::dispose() ModalDialog::dispose(); } -SwMailMergeFieldConnectionsDlg::SwMailMergeFieldConnectionsDlg(vcl::Window* pParent) - : ModalDialog(pParent, "MergeConnectDialog", - "modules/swriter/ui/mergeconnectdialog.ui") +SwMailMergeFieldConnectionsDlg::SwMailMergeFieldConnectionsDlg(weld::Window* pParent) + : GenericDialogController(pParent, "modules/swriter/ui/mergeconnectdialog.ui", "MergeConnectDialog") + , m_xUseExistingRB(m_xBuilder->weld_radio_button("existing")) { - get(m_pUseExistingRB, "existing"); } SwMailMergeFieldConnectionsDlg::~SwMailMergeFieldConnectionsDlg() { - disposeOnce(); -} - -void SwMailMergeFieldConnectionsDlg::dispose() -{ - m_pUseExistingRB.clear(); - ModalDialog::dispose(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |