summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-05-09 20:41:28 +0200
committerJan Holesovsky <kendy@collabora.com>2014-05-09 22:28:43 +0200
commitdd484af7cfb472a39c9afebc6dad9ea28d1224c4 (patch)
tree8d48659656e877fd527612a69de18ff267a3a9c0 /sd
parent569ff6727e54d5ce8c19ae51a9a651a98c8096d3 (diff)
fdo#78267: Fix advancing slides by mouse clicks.
Fixes a regression from b45a12c37d2b671e54404afda5dee1b0947bd3ed. The confusing logical operation ! (maPresSettings.mbLockedPages != sal_False) should translate to !maPresSettings.mbLockPages Change-Id: Iaba62ee001dd57194c1a17421d8632330eab1345
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 3f816c027587..8e2f17e7bae9 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -1051,7 +1051,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
aProperties.push_back(
beans::PropertyValue( "AdvanceOnClick" ,
- -1, Any( maPresSettings.mbLockedPages ),
+ -1, Any( !maPresSettings.mbLockedPages ),
beans::PropertyState_DIRECT_VALUE ) );
aProperties.push_back(