From 60e6f9fc61cd4ade02c6771a5325e5ca6e05faf4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 21 Jan 2014 17:56:03 +0100 Subject: [PATCH] bool improvements Change-Id: I471bebacb036e3809cdef2be9e33891da37a3723 --- toolkit/source/helper/unowrapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {