summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unomailmerge.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unomailmerge.cxx')
-rw-r--r--sw/source/uibase/uno/unomailmerge.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unomailmerge.cxx b/sw/source/uibase/uno/unomailmerge.cxx
index 2e47a54e1256..65a4aabf5bf9 100644
--- a/sw/source/uibase/uno/unomailmerge.cxx
+++ b/sw/source/uibase/uno/unomailmerge.cxx
@@ -25,6 +25,7 @@
#include <sfx2/app.hxx>
#include <sfx2/docfilt.hxx>
#include <tools/urlobj.hxx>
+#include <tools/diagnose_ex.h>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <cppuhelper/supportsservice.hxx>
@@ -259,7 +260,7 @@ namespace
}
catch (const Exception&)
{
- OSL_FAIL("DelayedFileDeletion::OnTryDeleteFile: caught a strange exception!" );
+ TOOLS_WARN_EXCEPTION( "sw", "DelayedFileDeletion::OnTryDeleteFile: caught a strange exception!" );
bSuccess = true;
// can't do anything here ...
}