Kaydet (Commit) 12180ed8 authored tarafından Salih Sariyar's avatar Salih Sariyar Kaydeden (comit) Michael Stahl

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: 's avatarMichael Stahl <Michael.Stahl@cib.de>
üst 4d6c45c8
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment