diff options
author | Noel <noelgrandin@gmail.com> | 2020-11-30 14:19:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-01 09:28:52 +0100 |
commit | d6d80c4e1783b4459bd4a8fbcbdfeebe416c1cb5 (patch) | |
tree | 995c41a30f4224233267a8cfb05da41ae8c10275 /sw/source/ui/index | |
parent | 102fdc08b86599b9e538d2f38df865d56b3ec63d (diff) |
OSL_FAIL.*exception -> TOOLS_WARN_EXCEPTION
Change-Id: I6800e23ead2767d245d5da71d2d40e0f8a6d7e1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106859
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/index')
-rw-r--r-- | sw/source/ui/index/cntex.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/index/cntex.cxx b/sw/source/ui/index/cntex.cxx index 05d9ee2e0e84..3faac515beab 100644 --- a/sw/source/ui/index/cntex.cxx +++ b/sw/source/ui/index/cntex.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/ucb/XCommandEnvironment.hpp> #include <comphelper/string.hxx> #include <tools/UnitConversion.hxx> +#include <tools/diagnose_ex.h> #include <wrtsh.hxx> #include <view.hxx> #include <cnttab.hxx> @@ -118,7 +119,7 @@ IMPL_LINK_NOARG(SwMultiTOXTabDialog, CreateExample_Hdl, SwOneExampleFrame&, void } catch (const Exception&) { - OSL_FAIL("::CreateExample() - exception caught"); + TOOLS_WARN_EXCEPTION( "sw", "::CreateExample()"); } } @@ -385,7 +386,7 @@ void SwMultiTOXTabDialog::CreateOrUpdateExample( } catch (const Exception&) { - OSL_FAIL("::CreateExample() - exception caught"); + TOOLS_WARN_EXCEPTION( "sw", "::CreateExample()"); } m_xExampleFrame->Invalidate(); } |