summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-29 09:29:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-29 12:56:28 +0200
commitca145c7364509cfdabb76472b503a2a5842c2b60 (patch)
treea0226891fbb69d876c808d1cc31860cde501023f /xmlscript
parent0bebf37bac076a56801ef7d1c113f729b12b9f46 (diff)
remove some unnecessary OString constructor calls
Change-Id: I11358f17770cacb2a33011797f4be82dc02340b7 Reviewed-on: https://gerrit.libreoffice.org/38130 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/test/imexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/test/imexp.cxx b/xmlscript/test/imexp.cxx
index 6965d4126a51..2c8521015255 100644
--- a/xmlscript/test/imexp.cxx
+++ b/xmlscript/test/imexp.cxx
@@ -190,7 +190,7 @@ void MyApp::Main()
uno::Exception exc;
if (rExc.WrappedException >>= exc)
{
- aStr += OString( " >>> " );
+ aStr += " >>> ";
aStr += OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US );
}
OSL_FAIL( aStr.getStr() );