diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 17:56:03 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 18:24:05 +0100 |
commit | 60e6f9fc61cd4ade02c6771a5325e5ca6e05faf4 (patch) | |
tree | 717a250ff1966326e8a103139d290741ee1db572 /toolkit/source/helper | |
parent | 5f755f0a62e150bf7c9857bac43ac6cc55ef3e45 (diff) |
bool improvements
Change-Id: I471bebacb036e3809cdef2be9e33891da37a3723
Diffstat (limited to 'toolkit/source/helper')
-rw-r--r-- | toolkit/source/helper/unowrapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/helper/unowrapper.cxx b/toolkit/source/helper/unowrapper.cxx index 84d87e4bc5dc..9b74a3ebc655 100644 --- a/toolkit/source/helper/unowrapper.cxx +++ b/toolkit/source/helper/unowrapper.cxx @@ -259,7 +259,7 @@ void UnoWrapper::WindowDestroyed( Window* pWindow ) VCLXWindow* pWindowPeer = pWindow->GetWindowPeer(); uno::Reference< lang::XComponent > xWindowPeerComp( pWindow->GetComponentInterface( sal_False ), uno::UNO_QUERY ); - OSL_ENSURE( ( pWindowPeer != NULL ) == ( xWindowPeerComp.is() == sal_True ), + OSL_ENSURE( ( pWindowPeer != NULL ) == xWindowPeerComp.is(), "UnoWrapper::WindowDestroyed: inconsistency in the window's peers!" ); if ( pWindowPeer ) { |