summaryrefslogtreecommitdiff
path: root/test/source/bootstrapfixture.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/bootstrapfixture.cxx')
-rw-r--r--test/source/bootstrapfixture.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx
index 6279ec8d8633..545dfe5516f6 100644
--- a/test/source/bootstrapfixture.cxx
+++ b/test/source/bootstrapfixture.cxx
@@ -43,10 +43,10 @@ using namespace ::com::sun::star;
static void aBasicErrorFunc( const OUString &rErr, const OUString &rAction )
{
- OStringBuffer aErr( "Unexpected dialog: " );
- aErr.append( OUStringToOString( rAction, RTL_TEXTENCODING_ASCII_US ) );
- aErr.append( " Error: " );
- aErr.append( OUStringToOString( rErr, RTL_TEXTENCODING_ASCII_US ) );
+ OString aErr = "Unexpected dialog: " +
+ OUStringToOString( rAction, RTL_TEXTENCODING_ASCII_US ) +
+ " Error: " +
+ OUStringToOString( rErr, RTL_TEXTENCODING_ASCII_US );
CPPUNIT_ASSERT_MESSAGE( aErr.getStr(), false);
}