summaryrefslogtreecommitdiff
path: root/eventattacher
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-12-10 22:14:57 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-12-10 22:16:07 +0900
commit93a9f170be76965ec004b200ac939e55e8382ca0 (patch)
tree2631f1e25117ae2bef93935fb3dab41d13c728db /eventattacher
parent1688a9d9235dd2ee4f3b9497308efd41f7a3fb6f (diff)
catch exception by constant reference
Diffstat (limited to 'eventattacher')
-rw-r--r--eventattacher/source/eventattacher.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx
index c4c187af7619..fd8fd9a3531f 100644
--- a/eventattacher/source/eventattacher.cxx
+++ b/eventattacher/source/eventattacher.cxx
@@ -563,7 +563,7 @@ Any SAL_CALL FilterAllListenerImpl::approveFiring( const AllEventObject& Event )
convertToEventReturn( aRet, aRetType );
}
}
- catch( CannotConvertException& e )
+ catch( const CannotConvertException& e )
{
throw InvocationTargetException( OUString(), Reference< XInterface >(), Any(&e, ::getCppuType( (CannotConvertException*)0)) );
}
@@ -683,7 +683,7 @@ Reference<XEventListener> EventAttacherImpl::attachListenerForTarget(
{
rxMethod->invoke( aObject, args );
}
- catch( InvocationTargetException& )
+ catch( const InvocationTargetException& )
{
throw IntrospectionException();
}
@@ -710,7 +710,7 @@ Reference<XEventListener> EventAttacherImpl::attachListenerForTarget(
{
rxMethod->invoke( aObject, args );
}
- catch( InvocationTargetException& )
+ catch( const InvocationTargetException& )
{
throw IntrospectionException();
}
@@ -860,7 +860,7 @@ void EventAttacherImpl::removeListener
{
rxMethod->invoke( aObjAny, args );
}
- catch( InvocationTargetException& )
+ catch( const InvocationTargetException& )
{
throw IntrospectionException();
}
@@ -885,7 +885,7 @@ void EventAttacherImpl::removeListener
{
rxMethod->invoke( aObjAny, args );
}
- catch( InvocationTargetException& )
+ catch( const InvocationTargetException& )
{
throw IntrospectionException();
}