[Libreoffice-commits] core.git: vcl/jsdialog

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Tue Jan 19 12:28:29 UTC 2021


 vcl/jsdialog/jsdialogbuilder.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 04a4e009b2adf3cf1499700b44d00a25a894444d
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Tue Jan 19 08:40:30 2021 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Tue Jan 19 13:27:44 2021 +0100

    jsdialog: clear notifications when sent
    
    Change-Id: I78b3904685b45d7c859bde07c78607671e215e98
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109611
    Tested-by: Jenkins
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx
index 3741457a4186..140e3fa2b755 100644
--- a/vcl/jsdialog/jsdialogbuilder.cxx
+++ b/vcl/jsdialog/jsdialogbuilder.cxx
@@ -151,6 +151,8 @@ void JSDialogNotifyIdle::Invoke()
                 break;
         }
     }
+
+    m_aMessageQueue.clear();
 }
 
 void JSDialogSender::notifyDialogState(bool bForce)


More information about the Libreoffice-commits mailing list