Kaydet (Commit) c2fce890 authored tarafından Omer Fatih Celik's avatar Omer Fatih Celik Kaydeden (comit) Michael Stahl

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: 's avatarMichael Stahl <Michael.Stahl@cib.de>
üst f9556fc4
...@@ -879,15 +879,12 @@ int mscx_filterCppException( ...@@ -879,15 +879,12 @@ int mscx_filterCppException(
&pExcTD, aUNOname.pData ); &pExcTD, aUNOname.pData );
if (pExcTD == nullptr) if (pExcTD == nullptr)
{ {
OUStringBuffer buf; OUString sMsg = "[mscx_uno bridge error] UNO type of "
buf.append( "C++ exception unknown: \""
"[mscx_uno bridge error] UNO type of " + aUNOname + "\", RTTI-name=\""
"C++ exception unknown: \"" ); + aRTTIname + "\"!";
buf.append( aUNOname );
buf.append( "\", RTTI-name=\"" ); RuntimeException exc( sMsg );
buf.append( aRTTIname );
buf.append( "\"!" );
RuntimeException exc( buf.makeStringAndClear() );
uno_type_any_constructAndConvert( uno_type_any_constructAndConvert(
pUnoExc, &exc, pUnoExc, &exc,
cppu::UnoType<decltype(exc)>::get().getTypeLibType(), pCpp2Uno ); 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