From f9f5a92b9612e134994aad5f05a543860c6f098c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 20 Jan 2021 11:20:23 +0000 Subject: set parent for database authentication user/password dialog Change-Id: Idd351405dbdccdf75d350ace876f8a8d00d9e549 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109680 Reviewed-by: Michael Stahl Tested-by: Jenkins --- dbaccess/source/ui/dlg/DbAdminImpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess') 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(); -- cgit v1.2.3