summaryrefslogtreecommitdiff
path: root/UnoControls/source/base/multiplexer.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-21 17:43:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-21 18:24:04 +0100
commitd706527fd8377dfb43746529a59b2af0b40b6b6d (patch)
tree0f212c2fc26e02e6d97c7a244451223a71e632d7 /UnoControls/source/base/multiplexer.cxx
parent4abe5e61ddc55fcfb0e230d898dd10d7f7e1f793 (diff)
bool improvements
Change-Id: I24fae431d9e2b99cd6ac937956bb401ecfebc943
Diffstat (limited to 'UnoControls/source/base/multiplexer.cxx')
-rw-r--r--UnoControls/source/base/multiplexer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/UnoControls/source/base/multiplexer.cxx b/UnoControls/source/base/multiplexer.cxx
index 775760638967..416042bd970c 100644
--- a/UnoControls/source/base/multiplexer.cxx
+++ b/UnoControls/source/base/multiplexer.cxx
@@ -46,7 +46,7 @@ namespace unocontrols{
/* We must change the source of the event. */ \
aLocalEvent.Source = m_xControl ; \
/* Is the control not destroyed? */ \
- if( aLocalEvent.Source.is() == sal_True ) \
+ if( aLocalEvent.Source.is() ) \
{ \
if( aIterator.hasMoreElements() ) \
{ \
@@ -116,7 +116,7 @@ Any SAL_CALL OMRCListenerMultiplexerHelper::queryInterface( const Type& rType )
);
// If searched interface supported by this class ...
- if ( aReturn.hasValue() == sal_True )
+ if ( aReturn.hasValue() )
{
// ... return this information.
return aReturn ;