diff options
author | Michael Stahl <mst@apache.org> | 2011-09-07 10:20:44 +0000 |
---|---|---|
committer | Michael Stahl <mst@apache.org> | 2011-09-07 10:20:44 +0000 |
commit | 65473e0f759a41a32af505f44a321acaefea823b (patch) | |
tree | 26c79eec5671020f756bb3e022d096b2de577ddc /slideshow | |
parent | 0a7cce6f1016a484068d63f4e77ae131d54ca350 (diff) |
slideshow: remove some forgotten tools-types
Submitted on behalf of a third party:
Ariel Constenla-Haile <ariel.constenla.haile@googlemail.com>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx index 0d650b3b8f29..2f42606d4126 100644 --- a/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx @@ -487,13 +487,13 @@ bool OGLTransitionerImpl::createWindow( Window* pPWindow ) glXGetFBConfigAttrib (GLWin.dpy, fbconfigs[i], GLX_BIND_TO_TEXTURE_RGB_EXT, &value); - if (value == FALSE) + if (!value) continue; glXGetFBConfigAttrib (GLWin.dpy, fbconfigs[i], GLX_BIND_TO_MIPMAP_TEXTURE_EXT, &value); - if (value == FALSE) + if (!value) continue; /* TODO: handle non Y inverted cases */ @@ -517,7 +517,7 @@ bool OGLTransitionerImpl::createWindow( Window* pPWindow ) winData.nSize = sizeof(winData); OSL_TRACE("using VisualID %08X", vi->visualid); winData.pVisual = (void*)(vi->visual); - pWindow=new SystemChildWindow(pPWindow, 0, &winData, FALSE); + pWindow=new SystemChildWindow(pPWindow, 0, &winData, sal_False); pChildSysData = pWindow->GetSystemData(); if( pChildSysData ) { break; @@ -537,18 +537,18 @@ bool OGLTransitionerImpl::createWindow( Window* pPWindow ) const SystemEnvData* pChildSysData = NULL; SystemWindowData winData; winData.nSize = sizeof(winData); - pWindow=new SystemChildWindow(pPWindow, 0, &winData, FALSE); + pWindow=new SystemChildWindow(pPWindow, 0, &winData, sal_False); pChildSysData = pWindow->GetSystemData(); #endif if( pWindow ) { - pWindow->SetMouseTransparent( TRUE ); + pWindow->SetMouseTransparent( sal_True ); pWindow->SetParentClipMode( PARENTCLIPMODE_NOCLIP ); - pWindow->EnableEraseBackground( FALSE ); + pWindow->EnableEraseBackground( sal_False ); pWindow->SetControlForeground(); pWindow->SetControlBackground(); - pWindow->EnablePaint(FALSE); + pWindow->EnablePaint(sal_False); #if defined( WNT ) GLWin.hWnd = sysData->hWnd; #elif defined( UNX ) |