diff options
Diffstat (limited to 'sd')
-rwxr-xr-x | sd/source/ui/slideshow/slideshow.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx index 0f01f0658cbb..7bee71e35014 100755 --- a/sd/source/ui/slideshow/slideshow.cxx +++ b/sd/source/ui/slideshow/slideshow.cxx @@ -877,6 +877,18 @@ void SAL_CALL SlideShow::startWithArguments( const Sequence< PropertyValue >& rA } } + // #118456# make sure TextEdit changes get pushed to model. + // mpDrawView is tested against NULL above already. + if(mpCurrentViewShellBase) + { + ViewShell* pViewShell = mpCurrentViewShellBase->GetMainViewShell().get(); + + if(pViewShell && pViewShell->GetView()) + { + pViewShell->GetView()->SdrEndTextEdit(); + } + } + // Start either a full-screen or an in-place show. if(mxCurrentSettings->mbFullScreen && !mxCurrentSettings->mbPreview) StartFullscreenPresentation(); |