diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-09 20:57:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-09 20:59:10 +0000 |
commit | 01112d2a6383bbb777db973c60b809b29576f39f (patch) | |
tree | bf0676145792a4959a83725fa40006f63d7e10ef /svx | |
parent | 3b7054e0bb86cec2db08b7c7654710a21cf66a94 (diff) |
some OSL_FAIL to SAL_WARN
Change-Id: I5101e42b7a34cca9055fc805d9a392ba4f920a3d
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdoole2.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
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() ) ); } } } |