diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-20 11:20:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-20 20:59:19 +0100 |
commit | 45dbc3023595edf50685776b1d803cdc2e5b0316 (patch) | |
tree | df1ef28d17feff2ca5693465f12a9e965b3925b4 /dbaccess | |
parent | 6aeeef8807fef36295b65d0a300a21466bfbeda0 (diff) |
set parent for database authentication user/password dialog
Change-Id: Idd351405dbdccdf75d350ace876f8a8d00d9e549
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109700
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/DbAdminImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.cxx b/dbaccess/source/ui/dlg/DbAdminImpl.cxx index 2853110b1959..dfb3cc1db655 100644 --- a/dbaccess/source/ui/dlg/DbAdminImpl.cxx +++ b/dbaccess/source/ui/dlg/DbAdminImpl.cxx @@ -232,7 +232,7 @@ bool ODbDataSourceAdministrationHelper::getCurrentSettings(Sequence< PropertyVal if ( !xHandler.is() ) { // instantiate the default SDB interaction handler - xHandler = task::InteractionHandler::createWithParent(m_xContext, nullptr); + xHandler = task::InteractionHandler::createWithParent(m_xContext, m_pParent->GetXWindow()); } OUString sName = pName ? pName->GetValue() : OUString(); |