[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - dbaccess/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jan 20 20:00:42 UTC 2021


 dbaccess/source/ui/dlg/DbAdminImpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 240830f5831203ec558747f569baae068827f061
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jan 20 11:20:23 2021 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jan 20 21:00:05 2021 +0100

    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 at allotropia.de>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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();


More information about the Libreoffice-commits mailing list