From fe7a4bccfdc6ff7e10789e5512ac469a4dc44f55 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 21 Feb 2014 23:46:33 +0100 Subject: Adapt vcl to various loplugin warnings on Mac OS X Change-Id: I4553ce218fbcf2ac681b284c71e7d558a451511c --- vcl/unx/generic/window/salframe.cxx | 4 ++-- vcl/unx/gtk/window/gtksalframe.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/unx') diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 481f44f7c612..50ba7dcbaf2f 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -800,7 +800,7 @@ X11SalFrame::~X11SalFrame() XSelectInput( GetXDisplay(), GetShellWindow(), 0 ); XSelectInput( GetXDisplay(), GetWindow(), 0 ); - ShowFullScreen( sal_False, 0 ); + ShowFullScreen( false, 0 ); if( bMapped_ ) Show( sal_False ); @@ -2056,7 +2056,7 @@ void X11SalFrame::updateWMClass() XFree( pClass ); } -void X11SalFrame::ShowFullScreen( sal_Bool bFullScreen, sal_Int32 nScreen ) +void X11SalFrame::ShowFullScreen( bool bFullScreen, sal_Int32 nScreen ) { if( GetDisplay()->IsXinerama() && GetDisplay()->GetXineramaScreens().size() > 1 ) { diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx index 324a06635f84..f5356db897dc 100644 --- a/vcl/unx/gtk/window/gtksalframe.cxx +++ b/vcl/unx/gtk/window/gtksalframe.cxx @@ -2420,7 +2420,7 @@ void GtkSalFrame::SetApplicationID( const OUString &rWMClass ) } } -void GtkSalFrame::ShowFullScreen( sal_Bool bFullScreen, sal_Int32 nScreen ) +void GtkSalFrame::ShowFullScreen( bool bFullScreen, sal_Int32 nScreen ) { m_bFullscreen = bFullScreen; -- cgit