summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-02-08 21:36:07 +0200
committerAndras Timar <andras.timar@collabora.com>2018-03-25 18:28:22 +0200
commit318f4e7d06681a664e7cb52589f130fa5628a350 (patch)
tree9ab0a7d6127fa7dba6e5bbc5c423c6c676e7e9bd /stoc
parent238316748ca29caf29ec69eca9b1a50ad36fa1af (diff)
Fix exception message: add colon between function name and the word "expected"
(cherry picked from commit 7d56128654457bfc859217c23a957d1712fd6e1c) Change-Id: I80eadaa097afdbe4394aceca9f40b9753792f30b
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/invocation/invocation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index 355da85b9bed..614b4b4b9cf6 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -608,8 +608,8 @@ Any Invocation_Impl::invoke( const OUString& FunctionName, const Sequence<Any>&
{
throw IllegalArgumentException(
"incorrect number of parameters passed invoking function " + FunctionName +
- "expected " + OUString::number(nFParamsLen) + ", got " + OUString::number(InParams.getLength()),
- static_cast<OWeakObject *>(this), (sal_Int16) 1 );
+ ": expected " + OUString::number(nFParamsLen) + ", got " + OUString::number(InParams.getLength()),
+ static_cast<OWeakObject *>(this), sal_Int16(1) );
}
// IN Parameter