diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-01-30 11:44:23 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-30 12:54:40 +0000 |
commit | 97eb8a6e0eb830f37dcba64a51d725aab4c5ff53 (patch) | |
tree | a1a95b8249052d846a997ad1729758168d6a3b24 /scripting/source/provider/ScriptImpl.cxx | |
parent | f8569cd9a28a3a8856dba4ad53218aa6cc073521 (diff) |
Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'scripting/source/provider/ScriptImpl.cxx')
-rw-r--r-- | scripting/source/provider/ScriptImpl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripting/source/provider/ScriptImpl.cxx b/scripting/source/provider/ScriptImpl.cxx index b6cd9c15b038..d1c70c5e914d 100644 --- a/scripting/source/provider/ScriptImpl.cxx +++ b/scripting/source/provider/ScriptImpl.cxx @@ -68,14 +68,14 @@ throw ( lang::IllegalArgumentException, script::CannotConvertException, } catch ( const lang::IllegalArgumentException & iae ) { - ::rtl::OUString temp = OUSTR( "ScriptImpl::invoke IllegalArgumentException : " ); + ::rtl::OUString temp = "ScriptImpl::invoke IllegalArgumentException : "; throw lang::IllegalArgumentException( temp.concat( iae.Message ), Reference< XInterface > (), iae.ArgumentPosition ); } catch ( const script::CannotConvertException & cce ) { - ::rtl::OUString temp = OUSTR( "ScriptImpl::invoke CannotConvertException : " ); + ::rtl::OUString temp = "ScriptImpl::invoke CannotConvertException : "; throw script::CannotConvertException( temp.concat( cce.Message ), Reference< XInterface > (), cce.DestinationTypeClass, @@ -84,14 +84,14 @@ throw ( lang::IllegalArgumentException, script::CannotConvertException, } catch ( const reflection::InvocationTargetException & ite ) { - ::rtl::OUString temp = OUSTR( "ScriptImpl::invoke InvocationTargetException : " ); + ::rtl::OUString temp = "ScriptImpl::invoke InvocationTargetException : "; throw reflection::InvocationTargetException( temp.concat( ite.Message ), Reference< XInterface > (), ite.TargetException ); } catch ( const RuntimeException & re ) { - ::rtl::OUString temp = OUSTR( "ScriptImpl::invoke RuntimeException : " ); + ::rtl::OUString temp = "ScriptImpl::invoke RuntimeException : "; throw RuntimeException( temp.concat( re.Message ), Reference< XInterface > () ); } @@ -99,7 +99,7 @@ throw ( lang::IllegalArgumentException, script::CannotConvertException, catch ( ... ) { throw RuntimeException( - OUSTR( "ScriptImpl::invoke Unknown Exception caught - RuntimeException rethrown" ), + "ScriptImpl::invoke Unknown Exception caught - RuntimeException rethrown", Reference< XInterface > () ); } #endif |