bool improvements

Change-Id: I471bebacb036e3809cdef2be9e33891da37a3723
This commit is contained in:
Stephan Bergmann
2014-01-21 17:56:03 +01:00
parent 5f755f0a62
commit 60e6f9fc61

View File

@@ -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 )
{