sd/source/ui/dlg/brkdlg.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit b913cec377878ed640582dcf611ccf8eaf21bd85 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Mar 18 10:22:26 2020 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Mar 18 12:40:25 2020 +0100 tdf#131395 handle all outstanding events to ensure the paint gets handled, if this turns out not to be sufficient then next fallback is to allow a route to Dialog::ensureRepaint to be exposed Change-Id: I3ab749170dfaeb92eae40a44bb1bde123c47f9f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90686 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sd/source/ui/dlg/brkdlg.cxx b/sd/source/ui/dlg/brkdlg.cxx index 81a0251ea819..8edfac4e1aa4 100644 --- a/sd/source/ui/dlg/brkdlg.cxx +++ b/sd/source/ui/dlg/brkdlg.cxx @@ -21,8 +21,9 @@ #include <sfx2/progress.hxx> #include <svx/svdetc.hxx> -#include <vcl/weld.hxx> +#include <vcl/scheduler.hxx> #include <vcl/svapp.hxx> +#include <vcl/weld.hxx> #include <sdresid.hxx> #include <drawview.hxx> @@ -125,7 +126,7 @@ IMPL_LINK( BreakDlg, UpDate, void*, nInit, bool ) // make sure dialog gets painted, it is intended to // show the progress to the user. Also necessary to // provide a clickable cancel button - Application::Reschedule(true); + Scheduler::ProcessEventsToIdle(); // return okay-value (-> !cancel) return !m_bCancel; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits