summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-16 13:54:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-16 14:00:20 +0200
commitb36e8678bc6e6b272cc116dcd4fbdb90dca12e28 (patch)
tree2077d7fb53cf0c986a47ae966694816354737226 /sd/source/ui/slideshow
parent35279a7e2d9bb18373c69c6922c240447be92104 (diff)
loplugin:simplifybool
Change-Id: Id87047cb49eabe0c5ef3463f437e47f0eeeae990
Diffstat (limited to 'sd/source/ui/slideshow')
-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 6abb3ac2963b..e83929f67cbe 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -2767,7 +2767,7 @@ void SlideshowImpl::setAutoSaveState( bool bOn)
Sequence< beans::PropertyValue > aArgs(1);
aArgs[0].Name = "AutoSaveState";
- aArgs[0].Value <<= bOn ? sal_True : sal_False;
+ aArgs[0].Value <<= bOn;
uno::Reference< frame::XDispatch > xAutoSave = frame::theAutoRecovery::get(xContext);
xAutoSave->dispatch(aURL, aArgs);