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

Stephan Bergmann sbergman at redhat.com
Mon Mar 6 13:56:48 UTC 2017


 desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 91745bdbfac1f478f230f6128240298d64d15d0d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Mar 6 14:56:09 2017 +0100

    Simplify SAL_INFO message composition
    
    Change-Id: I665c77f984cebba8803ff81a78dd31578bdeef51

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 9cb7f3b..5ba852e 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1292,7 +1292,7 @@ static bool lo_runMacro( LibreOfficeKit* pThis, const char *pURL)
             aErr.Value >>= nErrCode;
 
             pLib->maLastExceptionMsg = "An error occurred running macro (error code: " + OUString::number( nErrCode ) + ")";
-            SAL_INFO("lok", "Macro execution terminated with error (error code: " + OUString::number( nErrCode ) + ")");
+            SAL_INFO("lok", "Macro execution terminated with error code " << nErrCode);
 
             return false;
         }


More information about the Libreoffice-commits mailing list