diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-02-28 12:10:46 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-28 12:10:46 +0200 |
commit | 29a4487a067946fa3227807787280d1f13c45d1a (patch) | |
tree | 62a636615076123f80395b10e2e74dedd34ff269 /vcl | |
parent | WaE: implicit conversion (IntegralCast) from bool to 'long' (diff) | |
download | core-29a4487a067946fa3227807787280d1f13c45d1a.tar.gz core-29a4487a067946fa3227807787280d1f13c45d1a.zip |
WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'
Change-Id: I70eb7c04d12fad8f46f549bf5d43e1d1ffb724a1
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/window.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 0c517104baa7..277531b189c7 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -6266,7 +6266,7 @@ void Window::Show( bool bVisible, sal_uInt16 nFlags ) else if ( mpWindowImpl->mbFrame ) { mpWindowImpl->mbSuppressAccessibilityEvents = true; - mpWindowImpl->mpFrame->Show( sal_False, sal_False ); + mpWindowImpl->mpFrame->Show( false, false ); } StateChanged( STATE_CHANGE_VISIBLE ); @@ -6419,7 +6419,7 @@ void Window::Show( bool bVisible, sal_uInt16 nFlags ) mpWindowImpl->mbPaintFrame = true; bool bNoActivate = (nFlags & (SHOW_NOACTIVATE|SHOW_NOFOCUSCHANGE)) ? sal_True : sal_False; - mpWindowImpl->mpFrame->Show( sal_True, bNoActivate ); + mpWindowImpl->mpFrame->Show( true, bNoActivate ); if( aDogTag.IsDead() ) return; @@ -7603,7 +7603,7 @@ void Window::CaptureMouse() if ( pSVData->maWinData.mpCaptureWin != this ) { pSVData->maWinData.mpCaptureWin = this; - mpWindowImpl->mpFrame->CaptureMouse( sal_True ); + mpWindowImpl->mpFrame->CaptureMouse( true ); } } @@ -7620,7 +7620,7 @@ void Window::ReleaseMouse() if ( pSVData->maWinData.mpCaptureWin == this ) { pSVData->maWinData.mpCaptureWin = NULL; - mpWindowImpl->mpFrame->CaptureMouse( sal_False ); + mpWindowImpl->mpFrame->CaptureMouse( false ); ImplGenerateMouseMove(); } } |