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

New commits:
commit 610dea096d08a2f6c31ba4bcf5419a589fd054fb
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Wed Sep 27 17:08:00 2023 +0200
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Fri Sep 29 08:52:41 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/+/157317
    Tested-by: Jenkins
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/uui/source/iahndl-errorhandler.cxx 
b/uui/source/iahndl-errorhandler.cxx
index c03d518108f3..74e3253c5220 100644
--- a/uui/source/iahndl-errorhandler.cxx
+++ b/uui/source/iahndl-errorhandler.cxx
@@ -74,19 +74,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