From 572e9cde744e2b482a04ff4b457ad2cfde5f70d2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Apr 2017 12:26:29 +0200 Subject: loplugin:redundantcast find c-style bool casts Change-Id: I3237b93babc67de12c3771aa84766c2141ca93b2 Reviewed-on: https://gerrit.libreoffice.org/36137 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/unx/generic/window/salframe.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/unx/generic/window/salframe.cxx') 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 ); -- cgit v1.2.3