summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/config/mailconfigpage.cxx10
-rw-r--r--sw/source/ui/inc/mailconfigpage.hxx6
2 files changed, 5 insertions, 11 deletions
diff --git a/sw/source/ui/config/mailconfigpage.cxx b/sw/source/ui/config/mailconfigpage.cxx
index c5379dd10d3f..3467a1894d82 100644
--- a/sw/source/ui/config/mailconfigpage.cxx
+++ b/sw/source/ui/config/mailconfigpage.cxx
@@ -409,15 +409,11 @@ void SwTestAccountSettingsDialog::Test()
}
}
-SwMailConfigDlg::SwMailConfigDlg(Window* pParent, SfxItemSet& rSet ) :
- SfxNoLayoutSingleTabDialog(pParent, rSet, 0)
+SwMailConfigDlg::SwMailConfigDlg(Window* pParent, SfxItemSet& rSet)
+ : SfxSingleTabDialog(pParent, rSet)
{
// create TabPage
- SetTabPage(SwMailConfigPage::Create( this, rSet ));
-}
-
-SwMailConfigDlg::~SwMailConfigDlg()
-{
+ setTabPage(SwMailConfigPage::Create(get_content_area(), rSet));
}
SwAuthenticationSettingsDialog::SwAuthenticationSettingsDialog(
diff --git a/sw/source/ui/inc/mailconfigpage.hxx b/sw/source/ui/inc/mailconfigpage.hxx
index 232929126611..ab5d3a5ff73c 100644
--- a/sw/source/ui/inc/mailconfigpage.hxx
+++ b/sw/source/ui/inc/mailconfigpage.hxx
@@ -67,12 +67,10 @@ public:
};
-class SwMailConfigDlg : public SfxNoLayoutSingleTabDialog
+class SwMailConfigDlg : public SfxSingleTabDialog
{
public:
-
- SwMailConfigDlg( Window* pParent, SfxItemSet& rSet );
- ~SwMailConfigDlg();
+ SwMailConfigDlg(Window* pParent, SfxItemSet& rSet);
};
#endif