diff options
Diffstat (limited to 'slideshow/source/engine/opengl/TransitionerImpl.cxx')
-rw-r--r-- | slideshow/source/engine/opengl/TransitionerImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/opengl/TransitionerImpl.cxx b/slideshow/source/engine/opengl/TransitionerImpl.cxx index 644c3b823498..b19d62973108 100644 --- a/slideshow/source/engine/opengl/TransitionerImpl.cxx +++ b/slideshow/source/engine/opengl/TransitionerImpl.cxx @@ -1122,7 +1122,7 @@ void OGLTransitionerImpl::disposing() } #endif - if (mbRestoreSync && bool(mpContext.is())) { + if (mbRestoreSync && mpContext.is()) { // try to reestablish synchronize state const char* sal_synchronize = getenv("SAL_SYNCHRONIZE"); mpContext->getOpenGLWindow().Synchronize(sal_synchronize && *sal_synchronize == '1' ); |