diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-12 11:39:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-12 12:49:25 +0200 |
commit | 05144427303b2aa09108eeb03606fa66da275d2b (patch) | |
tree | e9ae881b44a84f352afdb51b755fb904415737ad /cppcanvas | |
parent | 4930acb18bbd145fd995084cd95e3e9d631424ed (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 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index 38b3921eb215..ad9098defc69 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -3045,10 +3045,7 @@ namespace cppcanvas } catch( uno::Exception& ) { - SAL_WARN("cppcanvas.emf", "" << OUStringToOString( - comphelper::anyToString( cppu::getCaughtException() ), - RTL_TEXTENCODING_UTF8 ).getStr() ); - + SAL_WARN("cppcanvas.emf", "" << comphelper::anyToString( cppu::getCaughtException() ) ); // convert error to return value return false; } @@ -3106,10 +3103,7 @@ namespace cppcanvas } catch( uno::Exception& ) { - SAL_WARN( "cppcanvas.emf", "" << OUStringToOString( - comphelper::anyToString( cppu::getCaughtException() ), - RTL_TEXTENCODING_UTF8 ).getStr() ); - + SAL_WARN( "cppcanvas.emf", "" << comphelper::anyToString( cppu::getCaughtException() ) ); return false; } } |