SwMailConfigDlg can now be converted to SfxSingleTabDialog

Change-Id: Ic9895e027be8b5406dda7756a19127bd4edee63d
This commit is contained in:
Caolán McNamara
2013-09-08 12:17:31 +01:00
parent 9f71d4e41a
commit 29d5cb9af0
2 changed files with 5 additions and 11 deletions

View File

@@ -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(

View File

@@ -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