summaryrefslogtreecommitdiff
path: root/slideshow/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
commite8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch)
treedae18a3acbf29c192118e7c003f80df8da8e21ae /slideshow/source
parent1c8402465cfd4df862409dc310f5f099d044c4d8 (diff)
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'slideshow/source')
-rw-r--r--slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx8
-rw-r--r--slideshow/source/engine/shapes/gdimtftools.cxx4
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.cxx8
3 files changed, 10 insertions, 10 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
index c5d086e13e7f..0e991645fda4 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
@@ -428,7 +428,7 @@ lcl_createSystemWindow(
winData.nSize = sizeof(winData);
SAL_INFO("slideshow.opengl", "using VisualID " << pXVisual->visualid);
winData.pVisual = (void*)(pXVisual->visual);
- SystemChildWindow* pWindow = new SystemChildWindow(pParentWindow, 0, &winData, sal_False);
+ SystemChildWindow* pWindow = new SystemChildWindow(pParentWindow, 0, &winData, false);
SystemEnvData const* const pChildSysData = pWindow->GetSystemData();
if( !pChildSysData ) {
delete pWindow, pWindow=NULL;
@@ -615,12 +615,12 @@ bool OGLTransitionerImpl::createWindow( Window* pPWindow )
if( pWindow )
{
- pWindow->SetMouseTransparent( sal_True );
+ pWindow->SetMouseTransparent( true );
pWindow->SetParentClipMode( PARENTCLIPMODE_NOCLIP );
- pWindow->EnableEraseBackground( sal_False );
+ pWindow->EnableEraseBackground( false );
pWindow->SetControlForeground();
pWindow->SetControlBackground();
- pWindow->EnablePaint(sal_False);
+ pWindow->EnablePaint(false);
#if defined( _WIN32 )
GLWin.hWnd = sysData->hWnd;
#elif defined( UNX )
diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx
index 21c60e716913..1a185908a0e8 100644
--- a/slideshow/source/engine/shapes/gdimtftools.cxx
+++ b/slideshow/source/engine/shapes/gdimtftools.cxx
@@ -290,12 +290,12 @@ bool getAnimationFromGraphic( VectorOfMtfAnimationFrames& o_rFrames,
// update modes)
VirtualDevice aVDev;
aVDev.SetOutputSizePixel( aAnimSize );
- aVDev.EnableMapMode( sal_False );
+ aVDev.EnableMapMode( false );
// setup mask VDev (alpha VDev is currently rather slow)
VirtualDevice aVDevMask;
aVDevMask.SetOutputSizePixel( aAnimSize );
- aVDevMask.EnableMapMode( sal_False );
+ aVDevMask.EnableMapMode( false );
switch( aAnimation.GetCycleMode() )
{
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx
index 1b4ed43421c3..e4138c3230db 100644
--- a/slideshow/source/engine/shapes/viewmediashape.cxx
+++ b/slideshow/source/engine/shapes/viewmediashape.cxx
@@ -460,10 +460,10 @@ namespace slideshow
mpMediaWindow->SetPosSizePixel( Point( aAWTRect.X, aAWTRect.Y ),
Size( aAWTRect.Width, aAWTRect.Height ) );
mpMediaWindow->SetParentClipMode( PARENTCLIPMODE_NOCLIP );
- mpMediaWindow->EnableEraseBackground( sal_False );
- mpMediaWindow->EnablePaint( sal_False );
- mpMediaWindow->SetForwardKey( sal_True );
- mpMediaWindow->SetMouseTransparent( sal_True );
+ mpMediaWindow->EnableEraseBackground( false );
+ mpMediaWindow->EnablePaint( false );
+ mpMediaWindow->SetForwardKey( true );
+ mpMediaWindow->SetMouseTransparent( true );
mpMediaWindow->Show();
if( mxPlayer.is() )