tdf#112689: Replace changed O(U)StringBuffer::append() with operator+

Change-Id: Ief3f2554bf2271dbfa60ff9fbc04e3c5d3540f68
Reviewed-on: https://gerrit.libreoffice.org/68146
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
This commit is contained in:
Omer Fatih Celik 2019-02-21 14:52:27 +03:00 committed by Michael Stahl
parent f9556fc409
commit c2fce89079

View File

@ -879,15 +879,12 @@ int mscx_filterCppException(
&pExcTD, aUNOname.pData );
if (pExcTD == nullptr)
{
OUStringBuffer buf;
buf.append(
"[mscx_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 = "[mscx_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 );