diff options
author | Andre Fischer <af@openoffice.org> | 2009-04-17 12:12:24 +0000 |
---|---|---|
committer | Andre Fischer <af@openoffice.org> | 2009-04-17 12:12:24 +0000 |
commit | db9f5786167659b2197cc2695dc7a17b527ff748 (patch) | |
tree | ab26027becdeb6ab01ccf545a6e379c3a3676a88 /sd/source/ui/dlg/docprev.cxx | |
parent | 1c0eaccc7afe441169b154f2cecc8c15b31988ad (diff) |
#i69530# End show before it is released.
Diffstat (limited to 'sd/source/ui/dlg/docprev.cxx')
-rw-r--r-- | sd/source/ui/dlg/docprev.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/docprev.cxx b/sd/source/ui/dlg/docprev.cxx index b53b570f813e..b8c2f0b0867d 100644 --- a/sd/source/ui/dlg/docprev.cxx +++ b/sd/source/ui/dlg/docprev.cxx @@ -67,7 +67,11 @@ void SdDocPreviewWin::SetObjectShell( SfxObjectShell* pObj, sal_uInt16 nShowPage { mpObj = pObj; mnShowPage = nShowPage; - mxSlideShow.clear(); + if (mxSlideShow.is()) + { + mxSlideShow->end(); + mxSlideShow.clear(); + } updateViewSettings(); } |