summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-18 09:58:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-18 15:08:37 +0200
commit9c6a4d1f542ad687e72037ac55547241f519097b (patch)
treec255adc53b51efb895c8569691ef065bd103843d /sw/source/uibase/inc
parentde09774238831ad43ec6e7ec7778db4d6a88fe3e (diff)
weld SwMailMergeCreateFromDlg
Change-Id: I9885881bfc6baffe1184d52c207d8f5d81a4a3b4 Reviewed-on: https://gerrit.libreoffice.org/61919 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r--sw/source/uibase/inc/mailmrge.hxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/source/uibase/inc/mailmrge.hxx b/sw/source/uibase/inc/mailmrge.hxx
index 23f51e363d8d..cbb9a9465936 100644
--- a/sw/source/uibase/inc/mailmrge.hxx
+++ b/sw/source/uibase/inc/mailmrge.hxx
@@ -139,16 +139,15 @@ public:
};
-class SwMailMergeCreateFromDlg : public ModalDialog
+class SwMailMergeCreateFromDlg : public weld::GenericDialogController
{
- VclPtr<RadioButton> m_pThisDocRB;
+ std::unique_ptr<weld::RadioButton> m_xThisDocRB;
public:
- SwMailMergeCreateFromDlg(vcl::Window* pParent);
+ SwMailMergeCreateFromDlg(weld::Window* pParent);
virtual ~SwMailMergeCreateFromDlg() override;
- virtual void dispose() override;
bool IsThisDocument() const
{
- return m_pThisDocRB->IsChecked();
+ return m_xThisDocRB->get_active();
}
};