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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 8 10:02:12 UTC 2021


 sfx2/source/appl/appserv.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ff79dd464a5d9e92d63a4385d3d1103da6b467fd
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 8 09:13:10 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Apr 8 12:01:29 2021 +0200

    set an explicit parent for warning dialog
    
    Change-Id: Id325189b34c19034ded7354bf0bffc324071a70b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113790
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index cf875e1d16c1..dc1420986dfb 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -1593,7 +1593,7 @@ void SfxApplication::OfaExec_Impl( SfxRequest& rReq )
             SvtModuleOptions aModuleOpt;
             if ( !aModuleOpt.IsImpress() )
             {
-                std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(nullptr,
+                std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(rReq.GetFrameWeld(),
                                                                          VclMessageType::Warning, VclButtonsType::Ok,
                                                                          SfxResId(STR_MODULENOTINSTALLED)));
                 xBox->run();


More information about the Libreoffice-commits mailing list