sd/source/ui/slideshow/slideshowimpl.cxx | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit 516ecd072f9dbfbacce77127a02b666ce387982d Author: Thorsten Behrens <tbehr...@suse.com> Date: Fri Oct 11 18:07:37 2013 +0200 Restore persistent userpaint functionality in slideshow. This was part of i103174 - Code from the ecntablet and eraser CWS; optionally improves user paint interactions in slideshow, and got accidentally cleaned away for being commented out. Change-Id: I4fb87a3e1cb834e10ae766ed8c58cd6f2397c45f diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index afc85dc..3350675 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -1422,6 +1422,13 @@ void SlideshowImpl::displayCurrentSlide (const bool bSkipAllMainSequenceEffects) void SlideshowImpl::endPresentation() { + if( maPresSettings.mbMouseAsPen) + { + Reference< XMultiServiceFactory > xDocFactory(mpDoc->getUnoModel(), UNO_QUERY ); + if( xDocFactory.is() ) + mxShow->registerUserPaintPolygons(xDocFactory); + } + if( !mnEndShowEvent ) mnEndShowEvent = Application::PostUserEvent( LINK(this, SlideshowImpl, endPresentationHdl) ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits