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 /scripting/source/dlgprov | |
parent | 9af0abebfd61641c9d028505caa864cdf898e35b (diff) |
remove more unnecessary use of OUString constructor
Change-Id: Iae14cb3df65295b6894fd9e05411c5698e9c8aba
Diffstat (limited to 'scripting/source/dlgprov')
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index 63178ad88e70..5960369ea0d2 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -425,21 +425,21 @@ static OUString aResourceResolverPropName("ResourceResolver"); if ( !xISP.is() ) { throw IllegalArgumentException( - OUString( "DialogProviderImpl::getDialogModel: dialog not found!" ), + "DialogProviderImpl::getDialogModel: dialog not found!", Reference< XInterface >(), 1 ); } } else { throw IllegalArgumentException( - OUString( "DialogProviderImpl::getDialogModel: library not found!" ), + "DialogProviderImpl::getDialogModel: library not found!", Reference< XInterface >(), 1 ); } } else { throw IllegalArgumentException( - OUString( "DialogProviderImpl::getDialog: library container not found!" ), + "DialogProviderImpl::getDialog: library container not found!", Reference< XInterface >(), 1 ); } @@ -733,7 +733,7 @@ static OUString aResourceResolverPropName("ResourceResolver"); if( !xHandler.is() ) { throw IllegalArgumentException( - OUString( "DialogProviderImpl::createDialogWithHandler: Invalid xHandler!" ), + "DialogProviderImpl::createDialogWithHandler: Invalid xHandler!", Reference< XInterface >(), 1 ); } Reference< XWindowPeer > xDummyPeer; @@ -776,7 +776,7 @@ static OUString aResourceResolverPropName("ResourceResolver"); if( !xParent.is() ) { throw IllegalArgumentException( - OUString( "DialogProviderImpl::createContainerWindow: Invalid xParent!" ), + "DialogProviderImpl::createContainerWindow: Invalid xParent!", Reference< XInterface >(), 1 ); } Reference < XControl > xControl = DialogProviderImpl::createDialogImpl( URL, xHandler, xParent, false ); |