[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sd/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Sep 8 03:31:21 PDT 2011
sd/source/ui/slideshow/slideshowimpl.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 66d627beac2d018b7bb0c9eefd863cae6bca2e64
Author: Thorsten Behrens <tbehrens at novell.com>
Date: Tue Sep 6 16:25:49 2011 +0200
Fix hang in slideshow.
This fixes fdo#32861, by processing all remaining events after the
post-yield callback comes around (that's supposed to be the time
when the app can spend time on event processing).
Signed-off-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 3ae8df2..8a400d2 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1883,6 +1883,9 @@ IMPL_LINK( SlideshowImpl, PostYieldListener, void*, EMPTYARG )
{
Application::EnableNoYieldMode(false);
Application::RemovePostYieldListener(LINK(this, SlideshowImpl, PostYieldListener));
+ Application::Reschedule(true); // fix for fdo#32861 - process
+ // *all* outstanding events after
+ // yield is done.
if (mbDisposed)
return 0;
return updateSlideShow();
More information about the Libreoffice-commits
mailing list