diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:19:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:27:24 +0200 |
commit | efd8f9224c9a32664076ee2e9b64a7990a9b75fa (patch) | |
tree | 9d109a540afb9ba5f56658e78d2266ff8c2a53e5 /slideshow | |
parent | 982a2c06a9048890115e2c517336d278cf278ba8 (diff) |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ic748f5d0df9622aae0faa600fe13f82103bbf4bf
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 14 | ||||
-rw-r--r-- | slideshow/source/engine/shapes/viewappletshape.cxx | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 7ed3b028d2d7..5ba940fa1c90 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -1414,21 +1414,21 @@ public: case animations::TransitionSubType::HEART: // 31 case animations::TransitionSubType::FANOUTHORIZONTAL: // 55 case animations::TransitionSubType::ACROSS: // 108 - return sal_True; + return true; default: - return sal_False; + return false; } } else if( transitionType == animations::TransitionType::FADE && transitionSubType == animations::TransitionSubType::CROSSFADE ) { - return sal_True; + return true; } else if( transitionType == animations::TransitionType::FADE && transitionSubType == animations::TransitionSubType::FADEOVERCOLOR ) { - return sal_True; + return true; } else if( transitionType == animations::TransitionType::IRISWIPE && transitionSubType == animations::TransitionSubType::DIAMOND ) { - return sal_True; + return true; } else if( transitionType == animations::TransitionType::ZOOM && transitionSubType == animations::TransitionSubType::ROTATEIN ) { - return sal_True; + return true; } else - return sal_False; + return false; } virtual uno::Reference< presentation::XTransition > SAL_CALL createTransition( diff --git a/slideshow/source/engine/shapes/viewappletshape.cxx b/slideshow/source/engine/shapes/viewappletshape.cxx index 7d6468a98960..60f1d5daf77d 100644 --- a/slideshow/source/engine/shapes/viewappletshape.cxx +++ b/slideshow/source/engine/shapes/viewappletshape.cxx @@ -212,7 +212,7 @@ namespace slideshow if( xCloseable.is() ) { - xCloseable->close( sal_True ); + xCloseable->close( true ); mxFrame.clear(); } } |