uui/source/iahndl-errorhandler.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 446145808d27ddfcc94bb927d56cd3d7d977edf8
Author:     Szymon Kłos <[email protected]>
AuthorDate: Wed Sep 27 17:08:00 2023 +0200
Commit:     Henry Castro <[email protected]>
CommitDate: Fri Sep 29 13:32:47 2023 +0200

    jsdialog: setup LOKNotifier for interaction handler errors
    
    This allows to show error dialogs on file errors like:
    "file is write protected". Without that patch it was
    crashing on assertion that LOKNotifier is not set.
    
    Change-Id: I1bc722116142c99613fa0715a49cd847896af170
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157363
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Henry Castro <[email protected]>

diff --git a/uui/source/iahndl-errorhandler.cxx 
b/uui/source/iahndl-errorhandler.cxx
index 765e7d077182..e4be8a713911 100644
--- a/uui/source/iahndl-errorhandler.cxx
+++ b/uui/source/iahndl-errorhandler.cxx
@@ -75,19 +75,19 @@ executeErrorDialog(
     {
         case task::InteractionClassification_ERROR:
             xBox.reset(Application::CreateMessageDialog(pParent,
-                        VclMessageType::Error, VclButtonsType::NONE, 
aText.makeStringAndClear()));
+                        VclMessageType::Error, VclButtonsType::NONE, 
aText.makeStringAndClear(), GetpApp()));
             break;
         case task::InteractionClassification_WARNING:
             xBox.reset(Application::CreateMessageDialog(pParent,
-                        VclMessageType::Warning, VclButtonsType::NONE, 
aText.makeStringAndClear()));
+                        VclMessageType::Warning, VclButtonsType::NONE, 
aText.makeStringAndClear(), GetpApp()));
             break;
         case task::InteractionClassification_INFO:
             xBox.reset(Application::CreateMessageDialog(pParent,
-                        VclMessageType::Info, VclButtonsType::NONE, 
aText.makeStringAndClear()));
+                        VclMessageType::Info, VclButtonsType::NONE, 
aText.makeStringAndClear(), GetpApp()));
             break;
         case task::InteractionClassification_QUERY:
             xBox.reset(Application::CreateMessageDialog(pParent,
-                        VclMessageType::Question, VclButtonsType::NONE, 
aText.makeStringAndClear()));
+                        VclMessageType::Question, VclButtonsType::NONE, 
aText.makeStringAndClear(), GetpApp()));
             break;
         default:
             assert(false);

Reply via email to