From 0f2824b117b65bd9c9db2870edc159419ae0c1d9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 May 2014 16:59:44 +0200 Subject: remove more unnecessary use of OUString constructor Change-Id: Iae14cb3df65295b6894fd9e05411c5698e9c8aba --- svtools/source/uno/genericunodialog.cxx | 2 +- svtools/source/uno/wizard/unowizard.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools') diff --git a/svtools/source/uno/genericunodialog.cxx b/svtools/source/uno/genericunodialog.cxx index 9d7020939629..f02d99c19138 100644 --- a/svtools/source/uno/genericunodialog.cxx +++ b/svtools/source/uno/genericunodialog.cxx @@ -208,7 +208,7 @@ sal_Int16 SAL_CALL OGenericUnoDialog::execute( ) throw(RuntimeException, std::e if (m_bExecuting) throw RuntimeException( - OUString( "already executing the dialog (recursive call)" ), + "already executing the dialog (recursive call)", *this ); diff --git a/svtools/source/uno/wizard/unowizard.cxx b/svtools/source/uno/wizard/unowizard.cxx index 3e3e851519ae..c3f20273c686 100644 --- a/svtools/source/uno/wizard/unowizard.cxx +++ b/svtools/source/uno/wizard/unowizard.cxx @@ -206,7 +206,7 @@ namespace { { if ( i_rPaths[i][0] != nFirstPageId ) throw IllegalArgumentException( - OUString( "All paths must start with the same page id." ), + "All paths must start with the same page id.", i_rContext, 2 ); } } -- cgit