diff options
Diffstat (limited to 'sw/source/uibase/inc/mailmrge.hxx')
-rw-r--r-- | sw/source/uibase/inc/mailmrge.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/source/uibase/inc/mailmrge.hxx b/sw/source/uibase/inc/mailmrge.hxx index 6a2b5bf53566..23f51e363d8d 100644 --- a/sw/source/uibase/inc/mailmrge.hxx +++ b/sw/source/uibase/inc/mailmrge.hxx @@ -152,17 +152,16 @@ public: } }; -class SwMailMergeFieldConnectionsDlg : public ModalDialog +class SwMailMergeFieldConnectionsDlg : public weld::GenericDialogController { - VclPtr<RadioButton> m_pUseExistingRB; + std::unique_ptr<weld::RadioButton> m_xUseExistingRB; public: - SwMailMergeFieldConnectionsDlg(vcl::Window* pParent); + SwMailMergeFieldConnectionsDlg(weld::Window* pParent); virtual ~SwMailMergeFieldConnectionsDlg() override; - virtual void dispose() override; bool IsUseExistingConnections() const { - return m_pUseExistingRB->IsChecked(); + return m_xUseExistingRB->get_active(); } }; |