summaryrefslogtreecommitdiff
path: root/stoc/test/testcorefl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/test/testcorefl.cxx')
-rw-r--r--stoc/test/testcorefl.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx
index 05df96424a28..7aa06a9ca82d 100644
--- a/stoc/test/testcorefl.cxx
+++ b/stoc/test/testcorefl.cxx
@@ -368,11 +368,7 @@ SAL_IMPLEMENT_MAIN()
catch (const Exception & rExc)
{
OSL_FAIL( "### exception occurred!" );
- OString aMsg(
- OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) );
- OSL_TRACE( "### exception occurred: " );
- OSL_TRACE( "%s", aMsg.getStr() );
- OSL_TRACE( "\n" );
+ SAL_WARN("stoc", "### exception occurred: " << rExc.Message );
}
printf( "testcorefl %s !\n", (bSucc ? "succeeded" : "failed") );