diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:33:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:26 +0200 |
commit | 8039c64822c8de24ea452bff7917193f7cc90669 (patch) | |
tree | a737f86d94d0c11990ffeae7f0661ce9a07eb484 /sd/source/ui/slideshow/slideshowimpl.cxx | |
parent | 60467763e32833232394e05642338f60346c0d53 (diff) |
loplugin:simplifybool
Change-Id: Ie214d859cb47c64cb6fab6f451a53ef188400026
Diffstat (limited to 'sd/source/ui/slideshow/slideshowimpl.cxx')
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index 694f43579c3f..1dccec07aa7e 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -2476,7 +2476,7 @@ void SlideshowImpl::createSlideList( bool bAll, const OUString& rPresSlide ) for( sal_Int32 i = 0; i < nSlideCount; i++ ) { - bool bVisible = ( mpDoc->GetSdPage( (sal_uInt16)i, PK_STANDARD ) )->IsExcluded() ? false : true; + bool bVisible = !( mpDoc->GetSdPage( (sal_uInt16)i, PK_STANDARD ) )->IsExcluded(); if( bVisible || (eMode == AnimationSlideController::ALL) ) mpSlideController->insertSlideNumber( i, bVisible ); } |