summaryrefslogtreecommitdiff
path: root/vcl/source/window/tabdlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-11 21:25:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:27 +0100
commit328bada54e99141f443c19e2bc9c418f2627ed6f (patch)
tree539a2ca2605ee1eda4c98ade59aa6da643ca4ffc /vcl/source/window/tabdlg.cxx
parent839acd1be4d158e285d98527ed48c64628fdc2d7 (diff)
move dialog-contained widget builder into dialog baseclass
Diffstat (limited to 'vcl/source/window/tabdlg.cxx')
-rw-r--r--vcl/source/window/tabdlg.cxx9
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();
}
// -----------------------------------------------------------------------