summaryrefslogtreecommitdiff
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 21:00:05 +0100
commit240830f5831203ec558747f569baae068827f061 (patch)
treee92f947330e6137e07f29a5b06c25d34a8d280a7
parentb99a8a17f91033c9955be8c874012a6762138af4 (diff)
set parent for database authentication user/password dialog
Change-Id: Idd351405dbdccdf75d350ace876f8a8d00d9e549 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109681 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 2437196f14e3..7fe641e230a8 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();