summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/connect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/connect.cxx')
-rw-r--r--cui/source/tabpages/connect.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/tabpages/connect.cxx b/cui/source/tabpages/connect.cxx
index cffd7806beeb..7e9b9385f282 100644
--- a/cui/source/tabpages/connect.cxx
+++ b/cui/source/tabpages/connect.cxx
@@ -49,17 +49,17 @@ const sal_uInt16 SvxConnectionPage::pRanges[] =
|*
\************************************************************************/
-SvxConnectionDialog::SvxConnectionDialog( vcl::Window* pParent, const SfxItemSet& rInAttrs,
- const SdrView* pSdrView )
- : SfxSingleTabDialog(pParent, rInAttrs)
+SvxConnectionDialog::SvxConnectionDialog(weld::Window* pParent, const SfxItemSet& rInAttrs, const SdrView* pSdrView)
+ : SfxSingleTabDialogController(pParent, rInAttrs)
{
- VclPtrInstance<SvxConnectionPage> _pPage( get_content_area(), rInAttrs );
+ TabPageParent pPageParent(get_content_area(), this);
+ VclPtrInstance<SvxConnectionPage> pPage(pPageParent, rInAttrs);
- _pPage->SetView( pSdrView );
- _pPage->Construct();
+ pPage->SetView(pSdrView);
+ pPage->Construct();
- SetTabPage( _pPage );
- SetText(CuiResId( RID_SVXSTR_CONNECTOR ));
+ SetTabPage(pPage);
+ m_xDialog->set_title(CuiResId( RID_SVXSTR_CONNECTOR));
}
/*************************************************************************