summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews4.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviews4.cxx')
-rw-r--r--sd/source/ui/view/drviews4.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx
index 2fda7490246f..5e3fe4ea3b72 100644
--- a/sd/source/ui/view/drviews4.cxx
+++ b/sd/source/ui/view/drviews4.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: drviews4.cxx,v $
*
- * $Revision: 1.39 $
+ * $Revision: 1.40 $
*
- * last change: $Author: rt $ $Date: 2008-03-12 11:56:32 $
+ * last change: $Author: kz $ $Date: 2008-04-03 15:13:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -553,7 +553,7 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin)
if ( !IsInputLocked() )
{
- const BOOL bNativeShow = mpSlideShow &&( mpSlideShow->getAnimationMode() == ANIMATIONMODE_SHOW );
+ const bool bNativeShow (SlideShow::IsRunning(GetViewShellBase()));
if( rCEvt.GetCommand() == COMMAND_PASTESELECTION && !bNativeShow )
{