bridges/source/cpp_uno/msvc_win32_intel/except.cxx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)
New commits: commit 12180ed8d6d64f78d37c6ee070da5a1ab3684843 Author: Salih Sariyar <[email protected]> AuthorDate: Sat Feb 9 17:09:22 2019 +0300 Commit: Michael Stahl <[email protected]> CommitDate: Tue Feb 19 17:38:19 2019 +0100 tdf#112689:Replace chained O(U)StringBuffer::append() with operator+ Change-Id: I4c9fc9595a498609309ce7734c312fea09680c2f Reviewed-on: https://gerrit.libreoffice.org/67586 Tested-by: Jenkins Reviewed-by: Michael Stahl <[email protected]> diff --git a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx index 805eae40e5de..b706c1b343fc 100644 --- a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx +++ b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx @@ -552,15 +552,11 @@ int msci_filterCppException( &pExcTypeDescr, aUNOname.pData ); if (pExcTypeDescr == 0) { - OUStringBuffer buf; - buf.append( - "[msci_uno bridge error] UNO type of " - "C++ exception unknown: \"" ); - buf.append( aUNOname ); - buf.append( "\", RTTI-name=\"" ); - buf.append( aRTTIname ); - buf.append( "\"!" ); - RuntimeException exc( buf.makeStringAndClear() ); + OUString sMsg = "[msci_uno bridge error] UNO type of " + "C++ exception unknown: \"" + + aUNOname + "\", RTTI-name=\"" + + aRTTIname + "\"!"; + RuntimeException exc( sMsg ); uno_type_any_constructAndConvert( pUnoExc, &exc, cppu::UnoType<decltype(exc)>::get().getTypeLibType(), pCpp2Uno ); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
