[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - sw/source

Serge Krot (via logerrit) logerrit at kemper.freedesktop.org
Sat Jun 6 00:24:06 UTC 2020


 sw/source/ui/dbui/mmresultdialogs.cxx |    4 +++-
 sw/source/uibase/dbui/dbmgr.cxx       |    3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

New commits:
commit ef61c49236c2bc11175fb26e55870a06b3e92f0c
Author:     Serge Krot <Serge.Krot at cib.de>
AuthorDate: Fri May 22 13:20:23 2020 +0200
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Sat Jun 6 02:23:31 2020 +0200

    tdf#133270 MAILMERGE progress is not updated during export of many files
    
    See also https://gerrit.libreoffice.org/c/core/+/90686 for a similar
    change.
    
    Change-Id: I063394f7ef0a68c79366f09c9d2cf5775a57e640
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94663
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    (cherry picked from commit 80cea3682b2cf07f1685852cd8809d9db58a1cb5)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95481
    Reviewed-by: Michael Stahl <michael.stahl at cib.de>
    Tested-by: Jenkins

diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx
index 53a76b8eb2bb..9d507f204ce9 100644
--- a/sw/source/ui/dbui/mmresultdialogs.cxx
+++ b/sw/source/ui/dbui/mmresultdialogs.cxx
@@ -45,6 +45,7 @@
 #include <vcl/svapp.hxx>
 #include <vcl/weld.hxx>
 #include <sfx2/dinfdlg.hxx>
+#include <vcl/scheduler.hxx>
 #include <sfx2/printer.hxx>
 #include <sfx2/fcontnr.hxx>
 #include <sfx2/viewfrm.hxx>
@@ -664,7 +665,8 @@ IMPL_LINK_NOARG(SwMMResultSaveDialog, SaveOutputHdl_Impl, weld::Button&, void)
             while(true)
             {
                 //time for other slots is needed
-                Application::Reschedule( true );
+                Scheduler::ProcessEventsToIdle();
+
                 bool bFailed = false;
                 try
                 {
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index 05216c55c08b..4c4c30516b8a 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -45,6 +45,7 @@
 #include <com/sun/star/ui/dialogs/XFilterManager.hpp>
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <vcl/errinf.hxx>
+#include <vcl/scheduler.hxx>
 #include <sfx2/fcontnr.hxx>
 #include <sfx2/filedlghelper.hxx>
 #include <sfx2/viewfrm.hxx>
@@ -1394,7 +1395,7 @@ bool SwDBManager::MergeMailFiles(SwWrtShell* pSourceShell,
                     //TODO xProgressDlg->queue_draw();
                 }
 
-                Application::Reschedule( true );
+                Scheduler::ProcessEventsToIdle();
 
                 // Create a copy of the source document and work with that one instead of the source.
                 // If we're not in the single file mode (which requires modifying the document for the merging),


More information about the Libreoffice-commits mailing list