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/uibase/dbui | |
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/uibase/dbui')
-rw-r--r-- | sw/source/uibase/dbui/mailmergehelper.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx index 19318862a4cd..0d086e9c8b29 100644 --- a/sw/source/uibase/dbui/mailmergehelper.cxx +++ b/sw/source/uibase/dbui/mailmergehelper.cxx @@ -36,6 +36,7 @@ #include <vcl/event.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> +#include <tools/diagnose_ex.h> #include <sfx2/passwd.hxx> @@ -154,7 +155,7 @@ uno::Reference< mail::XSmtpService > ConnectToSmtpServer( } catch (const uno::Exception&) { - OSL_FAIL("exception caught"); + TOOLS_WARN_EXCEPTION( "sw", ""); } return xSmtpServer; } @@ -258,7 +259,7 @@ OUString SwAddressPreview::FillData( } catch (const sdbc::SQLException&) { - OSL_FAIL("SQLException caught"); + TOOLS_WARN_EXCEPTION( "sw", ""); } } } |