[Libreoffice-commits] core.git: stoc/source

Tor Lillqvist tml at collabora.com
Fri Feb 9 00:10:51 UTC 2018


 stoc/source/invocation/invocation.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7d56128654457bfc859217c23a957d1712fd6e1c
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Feb 8 21:36:07 2018 +0200

    Fix exception message: add colon between function name and the word "expected"
    
    Change-Id: I80eadaa097afdbe4394aceca9f40b9753792f30b

diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index f564425c4202..82dfbac5a417 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -590,7 +590,7 @@ 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()),
+                ": expected " + OUString::number(nFParamsLen) + ", got " + OUString::number(InParams.getLength()),
                 static_cast<OWeakObject *>(this), sal_Int16(1) );
         }
 


More information about the Libreoffice-commits mailing list