summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-21 17:56:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-21 18:24:05 +0100
commit60e6f9fc61cd4ade02c6771a5325e5ca6e05faf4 (patch)
tree717a250ff1966326e8a103139d290741ee1db572 /toolkit
parent5f755f0a62e150bf7c9857bac43ac6cc55ef3e45 (diff)
bool improvements
Change-Id: I471bebacb036e3809cdef2be9e33891da37a3723
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/helper/unowrapper.cxx2
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 )
{