diff options
Diffstat (limited to 'pyuno/source/module/pyuno_adapter.cxx')
-rw-r--r-- | pyuno/source/module/pyuno_adapter.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pyuno/source/module/pyuno_adapter.cxx b/pyuno/source/module/pyuno_adapter.cxx index b51bc06912d0..41a2e242aad1 100644 --- a/pyuno/source/module/pyuno_adapter.cxx +++ b/pyuno/source/module/pyuno_adapter.cxx @@ -132,9 +132,7 @@ Sequence< sal_Int16 > Adapter::getOutIndexes( const OUString & functionName ) if( ! method.is( ) ) { throw RuntimeException( - (OUString( - "pyuno bridge: Couldn't get reflection for method ") - + functionName), + "pyuno bridge: Couldn't get reflection for method " + functionName, Reference< XInterface > () ); } @@ -265,9 +263,7 @@ Any Adapter::invoke( const OUString &aFunctionName, if( ! ( ret >>= seq ) ) { throw RuntimeException( - (OUString("pyuno bridge: Couldn't extract out" - " parameters for method ") - + aFunctionName), + "pyuno bridge: Couldn't extract out parameters for method " + aFunctionName, Reference< XInterface > () ); } |