diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-07-01 17:38:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-07-01 17:49:10 +0200 |
commit | 9263b101c39172cbcf04189c515bca80cb15f3aa (patch) | |
tree | 6afe725fda4f3e50fb89a69e16e642b0d41dbf62 /avmedia | |
parent | 485a7c880fd2675ff9c5fc792d4caae980b4535e (diff) |
Activate the "suspicious cast to sal_Bool" parts of loplugin:salbool
Change-Id: I78a368ef2899b2462251b45a327fc7b1f31fe764
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/opengl/oglplayer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx index 30c26419182f..3f33a6ce3afa 100644 --- a/avmedia/source/opengl/oglplayer.cxx +++ b/avmedia/source/opengl/oglplayer.cxx @@ -205,7 +205,7 @@ sal_Bool SAL_CALL OGLPlayer::isPlaybackLoop() throw ( uno::RuntimeException, std { osl::MutexGuard aGuard(m_aMutex); assert(m_pHandle); - return (sal_Bool)gltf_animation_get_looping(m_pHandle); + return gltf_animation_get_looping(m_pHandle) != 0; } void SAL_CALL OGLPlayer::setVolumeDB( sal_Int16 /*nVolumDB*/ ) throw ( uno::RuntimeException, std::exception ) |