diff options
Diffstat (limited to 'framework/source/fwi/uielement/rootitemcontainer.cxx')
-rw-r--r-- | framework/source/fwi/uielement/rootitemcontainer.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx b/framework/source/fwi/uielement/rootitemcontainer.cxx index b7a914139584..e09e840028f5 100644 --- a/framework/source/fwi/uielement/rootitemcontainer.cxx +++ b/framework/source/fwi/uielement/rootitemcontainer.cxx @@ -210,8 +210,7 @@ throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetExcept throw IndexOutOfBoundsException( OUString(), (OWeakObject *)this ); } else - throw IllegalArgumentException( OUString( WRONG_TYPE_EXCEPTION ), - (OWeakObject *)this, 2 ); + throw IllegalArgumentException( WRONG_TYPE_EXCEPTION, (OWeakObject *)this, 2 ); } void SAL_CALL RootItemContainer::removeByIndex( sal_Int32 nIndex ) @@ -239,8 +238,7 @@ throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetExcept throw IndexOutOfBoundsException( OUString(), (OWeakObject *)this ); } else - throw IllegalArgumentException( OUString( WRONG_TYPE_EXCEPTION ), - (OWeakObject *)this, 2 ); + throw IllegalArgumentException( WRONG_TYPE_EXCEPTION, (OWeakObject *)this, 2 ); } Reference< XInterface > SAL_CALL RootItemContainer::createInstanceWithContext( const Reference< XComponentContext >& ) |