incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r1166122 - /incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
Date Wed, 07 Sep 2011 11:20:44 GMT
Author: mst
Date: Wed Sep  7 11:20:44 2011
New Revision: 1166122

URL: http://svn.apache.org/viewvc?rev=1166122&view=rev
Log:
slideshow: remove some forgotten tools-types

Submitted on behalf of a third party:
Ariel Constenla-Haile <ariel.constenla.haile@googlemail.com>

Modified:
    incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx

Modified: incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx?rev=1166122&r1=1166121&r2=1166122&view=diff
==============================================================================
--- incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
(original)
+++ incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
Wed Sep  7 11:20:44 2011
@@ -487,13 +487,13 @@ bool OGLTransitionerImpl::createWindow( 
               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( 
               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( 
       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 )



Mime
View raw message