From 01112d2a6383bbb777db973c60b809b29576f39f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 9 Mar 2017 20:57:31 +0000 Subject: some OSL_FAIL to SAL_WARN Change-Id: I5101e42b7a34cca9055fc805d9a392ba4f920a3d --- svx/source/svdraw/svdoole2.cxx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'svx') diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx index 34b6ec0d6e38..030cafcc8490 100644 --- a/svx/source/svdraw/svdoole2.cxx +++ b/svx/source/svdraw/svdoole2.cxx @@ -945,14 +945,11 @@ void SdrOle2Obj::CheckFileLink_Impl() } } } - catch( css::uno::Exception& ) + catch (const css::uno::Exception&) { - OSL_FAIL( - OString(OString("SdrOle2Obj::CheckFileLink_Impl(), " - "exception caught: ") + - OUStringToOString( - comphelper::anyToString( cppu::getCaughtException() ), - RTL_TEXTENCODING_UTF8 )).getStr() ); + SAL_WARN( "svx", "SdrOle2Obj::CheckFileLink_Impl()," + "exception caught: " + << comphelper::anyToString(cppu::getCaughtException() ) ); } } } -- cgit