summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eventattacher/source/eventattacher.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx
index 7a7765da48d5..58106d25998a 100644
--- a/eventattacher/source/eventattacher.cxx
+++ b/eventattacher/source/eventattacher.cxx
@@ -134,7 +134,7 @@ Any SAL_CALL InvocationToAllListenerMapper::invoke(const OUString& FunctionName,
// Check if to firing or approveFiring has to be called
Reference< XIdlMethod > xMethod = m_xListenerType->getMethod( FunctionName );
- sal_Bool bApproveFiring = sal_False;
+ bool bApproveFiring = false;
if( !xMethod.is() )
return aRet;
Reference< XIdlClass > xReturnType = xMethod->getReturnType();
@@ -142,7 +142,7 @@ Any SAL_CALL InvocationToAllListenerMapper::invoke(const OUString& FunctionName,
if( ( xReturnType.is() && xReturnType->getTypeClass() != TypeClass_VOID ) ||
aExceptionSeq.getLength() > 0 )
{
- bApproveFiring = sal_True;
+ bApproveFiring = true;
}
else
{
@@ -155,7 +155,7 @@ Any SAL_CALL InvocationToAllListenerMapper::invoke(const OUString& FunctionName,
{
if( pInfos[ i ].aMode != ParamMode_IN )
{
- bApproveFiring = sal_True;
+ bApproveFiring = true;
break;
}
}