diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-11 13:49:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-11 21:42:16 +0200 |
commit | f9b104abc1185d4f9f3af66f49ec9e39f85a1c36 (patch) | |
tree | 972b288a471d03dded89e7d55040eef0ac65d2ee /scripting/source/basprov/basprov.cxx | |
parent | 36e92f38c98e5cb21aecf07434df34b3ad75272a (diff) |
simplify some OUString::concat usage
Change-Id: Ifa150dc9d694981ffe03c254ea8c3fd820c99795
Reviewed-on: https://gerrit.libreoffice.org/39812
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scripting/source/basprov/basprov.cxx')
-rw-r--r-- | scripting/source/basprov/basprov.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx index 4fac2f9cbb51..28cc4a48714a 100644 --- a/scripting/source/basprov/basprov.cxx +++ b/scripting/source/basprov/basprov.cxx @@ -293,10 +293,9 @@ namespace basprov if ( !uriRef.is() || !sfUri.is() ) { - OUString errorMsg("BasicProviderImpl::getScript: failed to parse URI: "); - errorMsg = errorMsg.concat( scriptURI ); throw provider::ScriptFrameworkErrorException( - errorMsg, Reference< XInterface >(), + "BasicProviderImpl::getScript: failed to parse URI: " + scriptURI, + Reference< XInterface >(), scriptURI, "Basic", provider::ScriptFrameworkErrorType::MALFORMED_URL ); } |