From 5e028ad5dccc6ff1a9250baf2196f7a2f235e314 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 23 Jun 2017 11:47:53 +0200 Subject: simplify some string handling in tracing calls Change-Id: I0fb76562429e691400a02216019c7f96791cf9b3 Reviewed-on: https://gerrit.libreoffice.org/39159 Tested-by: Jenkins Reviewed-by: Noel Grandin --- slideshow/test/demoshow.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'slideshow/test') diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx index f3b2fe33673c..d1e2c6005326 100644 --- a/slideshow/test/demoshow.cxx +++ b/slideshow/test/demoshow.cxx @@ -519,14 +519,12 @@ void DemoApp::Main() } catch( uno::Exception& ) { - OSL_FAIL( OUStringToOString( - comphelper::anyToString( cppu::getCaughtException() ), - RTL_TEXTENCODING_UTF8 ).getStr() ); + SAL_WARN( "slideshow", comphelper::anyToString( cppu::getCaughtException() ) ); } if( !xFactory.is() ) { - SAL_INFO("slideshow",( "Could not bootstrap UNO, installation must be in disorder. Exiting." ); + SAL_INFO("slideshow", "Could not bootstrap UNO, installation must be in disorder. Exiting." ); exit( 1 ); } -- cgit