diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-02-28 12:16:17 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-28 12:16:17 +0200 |
commit | 0526048e4e7ae46b3a8cf6cd9a4d2ffe0a082167 (patch) | |
tree | fb959437ea208d7bccde4bea6035112920ac5bb3 /vcl | |
parent | WaE: implicit conversion (IntegralCast) from bool to 'int' (diff) | |
download | core-0526048e4e7ae46b3a8cf6cd9a4d2ffe0a082167.tar.gz core-0526048e4e7ae46b3a8cf6cd9a4d2ffe0a082167.zip |
WaE: implicit conversion (IntegralCast) from bool to 'long'
Change-Id: If0d7ca02e8ecbc15eabc7807a71554ce11d92552
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 0d8ad3368739..c24e960c0835 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -4015,7 +4015,7 @@ long X11SalFrame::Dispatch( XEvent *pEvent ) } bMapped_ = true; bViewable_ = true; - nRet = true; + nRet = 1; if ( mpInputContext != NULL ) mpInputContext->Map( this ); CallCallback( SALEVENT_RESIZE, NULL ); @@ -4075,7 +4075,7 @@ long X11SalFrame::Dispatch( XEvent *pEvent ) { bMapped_ = false; bViewable_ = false; - nRet = true; + nRet = 1; if ( mpInputContext != NULL ) mpInputContext->Unmap( this ); CallCallback( SALEVENT_RESIZE, NULL ); @@ -4090,7 +4090,7 @@ long X11SalFrame::Dispatch( XEvent *pEvent ) case VisibilityNotify: nVisibility_ = pEvent->xvisibility.state; - nRet = true; + nRet = 1; if( bAlwaysOnTop_ && bMapped_ && ! GetDisplay()->getWMAdaptor()->isAlwaysOnTopOK() |