diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-11 21:25:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:27 +0100 |
commit | 328bada54e99141f443c19e2bc9c418f2627ed6f (patch) | |
tree | 539a2ca2605ee1eda4c98ade59aa6da643ca4ffc /vcl/source/window/tabdlg.cxx | |
parent | 839acd1be4d158e285d98527ed48c64628fdc2d7 (diff) |
move dialog-contained widget builder into dialog baseclass
Diffstat (limited to 'vcl/source/window/tabdlg.cxx')
-rw-r--r-- | vcl/source/window/tabdlg.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/vcl/source/window/tabdlg.cxx b/vcl/source/window/tabdlg.cxx index 070153384d44..2019e52e06de 100644 --- a/vcl/source/window/tabdlg.cxx +++ b/vcl/source/window/tabdlg.cxx @@ -231,8 +231,13 @@ TabDialog::TabDialog( Window* pParent, const ResId& rResId ) : { ImplInitTabDialogData(); rResId.SetRT( RSC_TABDIALOG ); - ImplInit( pParent, ImplInitRes( rResId ) ); - ImplLoadRes( rResId ); + init(pParent, rResId); +} + +TabDialog::TabDialog( Window* pParent, const rtl::OString& rID, const rtl::OUString& rUIXMLDescription ) : + Dialog(pParent, rID, rUIXMLDescription, WINDOW_TABDIALOG) +{ + ImplInitTabDialogData(); } // ----------------------------------------------------------------------- |