merge the formfield patch from ooo-build
[ooovba.git] / applied_patches / 0570-sd-animation-ui-fix.diff
blobe3ef43729025fe63e1bf7b3f402df4b0eb52df8f
1 --- sd/source/ui/dlg/docprev.cxx
2 +++ sd/source/ui/dlg/docprev.cxx
3 @@ -67,7 +67,11 @@ void SdDocPreviewWin::SetObjectShell( SfxObjectShell* pObj, sal_uInt16 nShowPage
5 mpObj = pObj;
6 mnShowPage = nShowPage;
7 - mxSlideShow.clear();
8 + if (mxSlideShow.is())
9 + {
10 + mxSlideShow->end();
11 + mxSlideShow.clear();
12 + }
13 updateViewSettings();