diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-26 16:59:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-27 08:20:12 +0200 |
commit | 0f2824b117b65bd9c9db2870edc159419ae0c1d9 (patch) | |
tree | 2e45a7d5e0d60b97bf989fd21c0ae35392ba5823 /toolkit | |
parent | 9af0abebfd61641c9d028505caa864cdf898e35b (diff) |
remove more unnecessary use of OUString constructor
Change-Id: Iae14cb3df65295b6894fd9e05411c5698e9c8aba
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/tabpagecontainer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/source/controls/tabpagecontainer.cxx b/toolkit/source/controls/tabpagecontainer.cxx index d6878c17cc05..b0e7b3babda6 100644 --- a/toolkit/source/controls/tabpagecontainer.cxx +++ b/toolkit/source/controls/tabpagecontainer.cxx @@ -166,8 +166,7 @@ void SAL_CALL UnoControlTabPageContainerModel::insertByIndex( ::sal_Int32 nIndex maContainerListeners.elementInserted( aEvent ); } else - throw IllegalArgumentException( OUString( WRONG_TYPE_EXCEPTION ), - (OWeakObject *)this, 2 ); + throw IllegalArgumentException( WRONG_TYPE_EXCEPTION, (OWeakObject *)this, 2 ); } void SAL_CALL UnoControlTabPageContainerModel::removeByIndex( ::sal_Int32 /*Index*/ ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception) |