summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-05-09 20:59:53 +0200
committerJan Holesovsky <kendy@collabora.com>2014-05-09 22:28:44 +0200
commit261b1ad80aae0dd9aba50190a4cf99011cc18fb9 (patch)
treef37e5e85296e64957d743671a2675b1909f1b173 /sd/source/ui/slideshow
parentdd484af7cfb472a39c9afebc6dad9ea28d1224c4 (diff)
'!= false' is redundant, and confusing - kill it.
Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
Diffstat (limited to 'sd/source/ui/slideshow')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 8e2f17e7bae9..e9dd1f6e749c 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1056,7 +1056,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
aProperties.push_back(
beans::PropertyValue( "ImageAnimationsAllowed" ,
- -1, Any( maPresSettings.mbAnimationAllowed != false ),
+ -1, Any( maPresSettings.mbAnimationAllowed ),
beans::PropertyState_DIRECT_VALUE ) );
const bool bZOrderEnabled(
@@ -1068,7 +1068,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
aProperties.push_back(
beans::PropertyValue( "ForceManualAdvance" ,
- -1, Any( maPresSettings.mbManual != false ),
+ -1, Any( maPresSettings.mbManual ),
beans::PropertyState_DIRECT_VALUE ) );
if( mbUsePen )