summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_adapter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module/pyuno_adapter.cxx')
-rw-r--r--pyuno/source/module/pyuno_adapter.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/pyuno/source/module/pyuno_adapter.cxx b/pyuno/source/module/pyuno_adapter.cxx
index df3f9fae5443..cfce2212b74f 100644
--- a/pyuno/source/module/pyuno_adapter.cxx
+++ b/pyuno/source/module/pyuno_adapter.cxx
@@ -321,7 +321,7 @@ Any Adapter::invoke( const OUString &aFunctionName,
}
}
- catch(InvocationTargetException & e )
+ catch( const InvocationTargetException & e )
{
if( isLog( cargo, LogLevel::CALL ) )
{
@@ -332,7 +332,7 @@ Any Adapter::invoke( const OUString &aFunctionName,
}
throw;
}
- catch( RuntimeException & e )
+ catch( const RuntimeException & e )
{
if( cargo && isLog( cargo, LogLevel::CALL ) )
{
@@ -342,7 +342,7 @@ Any Adapter::invoke( const OUString &aFunctionName,
}
throw;
}
- catch( CannotConvertException & e )
+ catch( const CannotConvertException & e )
{
if( isLog( cargo, LogLevel::CALL ) )
{
@@ -352,7 +352,7 @@ Any Adapter::invoke( const OUString &aFunctionName,
}
throw;
}
- catch( IllegalArgumentException & e )
+ catch( const IllegalArgumentException & e )
{
if( isLog( cargo, LogLevel::CALL ) )
{
@@ -387,7 +387,7 @@ void Adapter::setValue( const OUString & aPropertyName, const Any & value )
raiseInvocationTargetExceptionWhenNeeded( runtime);
}
- catch( IllegalArgumentException & exc )
+ catch( const IllegalArgumentException & exc )
{
throw InvocationTargetException( exc.Message, *this, com::sun::star::uno::makeAny( exc ) );
}