summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/dbui/mailmergehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/dbui/mailmergehelper.cxx')
-rw-r--r--sw/source/uibase/dbui/mailmergehelper.cxx5
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", "");
}
}
}