summaryrefslogtreecommitdiff
path: root/slideshow/test
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-12 11:39:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-12 12:49:25 +0200
commit05144427303b2aa09108eeb03606fa66da275d2b (patch)
treee9ae881b44a84f352afdb51b755fb904415737ad /slideshow/test
parent4930acb18bbd145fd995084cd95e3e9d631424ed (diff)
no need to use OUStringToOString in SAL_INFO
Change-Id: I707e0d72aba89b7e644def6f4c251e14f6599ad2 Reviewed-on: https://gerrit.libreoffice.org/36451 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/test')
-rw-r--r--slideshow/test/demoshow.cxx11
1 files changed, 3 insertions, 8 deletions
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 );
}
}