diff options
author | Kurt Zenker <kz@openoffice.org> | 2009-12-03 11:58:44 +0100 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2009-12-03 11:58:44 +0100 |
commit | 4d20dad9dba40e237b850cc527af36043f404824 (patch) | |
tree | 7386fcbce65790587d37dc598055fd3eff22b377 /sd/source/ui/dlg | |
parent | 099aec857aa7a6b40e9c016679d4a46562b2637f (diff) | |
parent | 1ae23cece0bf35ea52a15c66519a34c43ac57937 (diff) |
CWS-TOOLING: integrate CWS slideshow1
Diffstat (limited to 'sd/source/ui/dlg')
-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(); } |