Fix #i118456# make sure TextEdit changes get pushed to model

(cherry-picked from http://svn.apache.org/viewvc?rev=1174130&view=rev)
This commit is contained in:
Armin Le Grand 2011-09-22 17:33:48 +02:00 committed by Thorsten Behrens
parent a993f166d5
commit d543cb25e1

View file

@ -869,6 +869,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();