summaryrefslogtreecommitdiff
path: root/svx/source/dialog
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-03-12 18:37:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-03-13 09:53:32 +0100
commit0faf4e5c2e98219b17e042594710f6872bf6a615 (patch)
tree618ec137e00e30bbf6ab25d33374c8d20576853d /svx/source/dialog
parentfdc44bd929f038182dda4ea951f3b70dfc67f8d1 (diff)
weld DatabaseRegistrationDialog
Change-Id: I739785daef892ac16d2a41a98268f18670daeedb Reviewed-on: https://gerrit.libreoffice.org/69136 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/dialog')
-rw-r--r--svx/source/dialog/databaseregistrationui.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/databaseregistrationui.cxx b/svx/source/dialog/databaseregistrationui.cxx
index 04778639eda6..11bb05c4a5cb 100644
--- a/svx/source/dialog/databaseregistrationui.cxx
+++ b/svx/source/dialog/databaseregistrationui.cxx
@@ -28,14 +28,14 @@
namespace svx
{
- sal_uInt16 administrateDatabaseRegistration( vcl::Window* _parentWindow )
+ sal_uInt16 administrateDatabaseRegistration(weld::Window* parentWindow)
{
sal_uInt16 nResult = RET_CANCEL;
SfxItemSet aRegistrationItems( SfxGetpApp()->GetPool(), svl::Items<SID_SB_DB_REGISTER, SID_SB_DB_REGISTER>{} );
SvxAbstractDialogFactory* pDialogFactory = SvxAbstractDialogFactory::Create();
- ScopedVclPtr<SfxAbstractDialog> pDialog( pDialogFactory->CreateSfxDialog( _parentWindow, aRegistrationItems, nullptr, RID_SFXPAGE_DBREGISTER ) );
+ ScopedVclPtr<SfxAbstractDialog> pDialog(pDialogFactory->CreateSfxDialog(parentWindow, aRegistrationItems, nullptr, RID_SFXPAGE_DBREGISTER));
nResult = pDialog->Execute();
return nResult;