summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/dlelstnr.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-30 14:19:29 +0200
committerAndras Timar <andras.timar@collabora.com>2021-03-31 10:28:06 +0200
commit54bfbdc2ffb8938dbef5febe50c22e4eaf4b3c03 (patch)
tree11c99039401b885c8809b7ffff8ffeebf9781cb9 /sw/source/uibase/uno/dlelstnr.cxx
parent09deac70e486ca609a25a817cdbea754eb7c5649 (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/uibase/uno/dlelstnr.cxx')
-rw-r--r--sw/source/uibase/uno/dlelstnr.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/dlelstnr.cxx b/sw/source/uibase/uno/dlelstnr.cxx
index 76a66603928b..19a0aa34efb2 100644
--- a/sw/source/uibase/uno/dlelstnr.cxx
+++ b/sw/source/uibase/uno/dlelstnr.cxx
@@ -24,6 +24,7 @@
#include <com/sun/star/linguistic2/LinguServiceEventFlags.hpp>
#include <unotools/lingucfg.hxx>
+#include <tools/diagnose_ex.h>
#include <com/sun/star/uno/Reference.h>
#include <comphelper/processfactory.hxx>
@@ -62,7 +63,7 @@ SwLinguServiceEventListener::SwLinguServiceEventListener()
}
catch (const uno::Exception&)
{
- OSL_FAIL("exception caught in SwLinguServiceEventListener c-tor" );
+ TOOLS_WARN_EXCEPTION( "sw", "SwLinguServiceEventListener c-tor" );
}
}