[Libreoffice-commits] core.git: cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Feb 4 19:46:41 UTC 2019


 cui/source/options/webconninfo.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 8ee2190b4702950d1ffc8b4e850259203e3a50e9
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Feb 4 17:03:04 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Feb 4 20:46:17 2019 +0100

    set parent for change password dialog
    
    Change-Id: I4b519e9d1a6890bb03e566baac6164547a937267
    Reviewed-on: https://gerrit.libreoffice.org/67374
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/source/options/webconninfo.cxx b/cui/source/options/webconninfo.cxx
index 4b97d6a3f7ad..237ded056a45 100644
--- a/cui/source/options/webconninfo.cxx
+++ b/cui/source/options/webconninfo.cxx
@@ -25,6 +25,7 @@
 #include <com/sun/star/task/XPasswordContainer2.hpp>
 #include <comphelper/processfactory.hxx>
 #include <comphelper/docpasswordrequest.hxx>
+#include <toolkit/helper/vclunohelper.hxx>
 #include <vcl/treelistentry.hxx>
 #include <vcl/layout.hxx>
 
@@ -268,8 +269,9 @@ IMPL_LINK_NOARG(WebConnectionInfoDialog, ChangePasswordHdl, Button*, void)
                   = new ::comphelper::SimplePasswordRequest;
             uno::Reference< task::XInteractionRequest > rRequest( pPasswordRequest );
 
+            auto xWindow = VCLUnoHelper::GetInterface(this);
             uno::Reference< task::XInteractionHandler > xInteractionHandler(
-                task::InteractionHandler::createWithParent(comphelper::getProcessComponentContext(), nullptr),
+                task::InteractionHandler::createWithParent(comphelper::getProcessComponentContext(), xWindow),
                 uno::UNO_QUERY );
             xInteractionHandler->handle( rRequest );
 


More information about the Libreoffice-commits mailing list