summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2011-09-06 16:25:49 +0200
committerThorsten Behrens <tbehrens@novell.com>2011-09-06 16:42:29 +0200
commit044c534b2deb985052e7977bba3290c5d2c3ad77 (patch)
tree2518c7934bf0b36cd9b57f79edeb1f0e38374cb1 /sd
parenta635cc935fae17f3c6c69cc0be88d85410f74336 (diff)
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).
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 0f7212be0628..867e3bd270ca 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1875,6 +1875,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();