summaryrefslogtreecommitdiffstats
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-20 11:20:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-01-20 20:59:34 +0100
commitf9f5a92b9612e134994aad5f05a543860c6f098c (patch)
tree41001eca4fb5fcb33d5404ddd71b7f3bd9f86c8c /dbaccess
parentoox smartart: composite algo: handle right constraint when left+width is given (diff)
downloadcore-f9f5a92b9612e134994aad5f05a543860c6f098c.tar.gz
core-f9f5a92b9612e134994aad5f05a543860c6f098c.zip
set parent for database authentication user/password dialog
Change-Id: Idd351405dbdccdf75d350ace876f8a8d00d9e549 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109680 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Jenkins
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/dlg/DbAdminImpl.cxx2
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();