From 05144427303b2aa09108eeb03606fa66da275d2b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 12 Apr 2017 11:39:06 +0200 Subject: no need to use OUStringToOString in SAL_INFO Change-Id: I707e0d72aba89b7e644def6f4c251e14f6599ad2 Reviewed-on: https://gerrit.libreoffice.org/36451 Tested-by: Jenkins Reviewed-by: Noel Grandin --- slideshow/test/demoshow.cxx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'slideshow/test') diff --git a/slideshow/test/demoshow.cxx b/slideshow/test/demoshow.cxx index acdfd62f8b4e..f3b2fe33673c 100644 --- a/slideshow/test/demoshow.cxx +++ b/slideshow/test/demoshow.cxx @@ -355,8 +355,7 @@ void ChildWindow::init() } catch (const uno::Exception &e) { - SAL_INFO("slideshow",( "Exception '%s' thrown\n" , - OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr() ); + SAL_INFO("slideshow", "Exception " << e.Message ); } } @@ -369,9 +368,7 @@ void ChildWindow::Paint( const Rectangle& /*rRect*/ ) } catch (const uno::Exception &e) { - SAL_INFO("slideshow",( "Exception '%s' thrown\n" , - OUStringToOString( e.Message, - RTL_TEXTENCODING_UTF8 ).getStr() ); + SAL_INFO("slideshow", "Exception " << e.Message ); } } @@ -457,9 +454,7 @@ void DemoWindow::init() } catch (const uno::Exception &e) { - SAL_INFO("slideshow",( "Exception '%s' thrown\n" , - OUStringToOString( e.Message, - RTL_TEXTENCODING_UTF8 ).getStr() ); + SAL_INFO("slideshow", "Exception " << e.Message ); } } -- cgit