diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/settings.cxx | 4 | ||||
-rw-r--r-- | vcl/source/window/split.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index 9422bab3b1a2..db8acb198729 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -1448,7 +1448,7 @@ StyleSettings::SetUseFlatBorders( bool bUseFlatBorders ) bool StyleSettings::GetUseFlatBorders() const { - return (bool) mxData->mnUseFlatBorders; + return mxData->mnUseFlatBorders; } void @@ -1461,7 +1461,7 @@ StyleSettings::SetUseFlatMenus( bool bUseFlatMenus ) bool StyleSettings::GetUseFlatMenus() const { - return (bool) mxData->mnUseFlatMenus; + return mxData->mnUseFlatMenus; } void diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx index d597a0e15594..0243de205deb 100644 --- a/vcl/source/window/split.cxx +++ b/vcl/source/window/split.cxx @@ -164,7 +164,7 @@ void Splitter::dispose() void Splitter::SetHorizontal(bool bNew) { - if(bNew != (bool)mbHorzSplit) + if(bNew != mbHorzSplit) { ImplInitHorVer(bNew); } diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 0828f68c3587..fcbe5c0456c6 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -2104,7 +2104,7 @@ void X11SalFrame::ShowFullScreen( bool bFullScreen, sal_Int32 nScreen ) { if( GetDisplay()->IsXinerama() && GetDisplay()->GetXineramaScreens().size() > 1 ) { - if( mbFullScreen == (bool)bFullScreen ) + if( mbFullScreen == bFullScreen ) return; if( bFullScreen ) { @@ -2169,7 +2169,7 @@ void X11SalFrame::ShowFullScreen( bool bFullScreen, sal_Int32 nScreen ) if( bVisible ) Show( true ); } - if( mbFullScreen == (bool)bFullScreen ) + if( mbFullScreen == bFullScreen ) return; pDisplay_->getWMAdaptor()->showFullScreen( this, bFullScreen ); |