summaryrefslogtreecommitdiff
path: root/vcl/win/dtrans/WinClipboard.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-30 14:19:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-01 09:28:52 +0100
commitd6d80c4e1783b4459bd4a8fbcbdfeebe416c1cb5 (patch)
tree995c41a30f4224233267a8cfb05da41ae8c10275 /vcl/win/dtrans/WinClipboard.cxx
parent102fdc08b86599b9e538d2f38df865d56b3ec63d (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 'vcl/win/dtrans/WinClipboard.cxx')
-rw-r--r--vcl/win/dtrans/WinClipboard.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/win/dtrans/WinClipboard.cxx b/vcl/win/dtrans/WinClipboard.cxx
index f553ba3dd34e..f50c1810f4ea 100644
--- a/vcl/win/dtrans/WinClipboard.cxx
+++ b/vcl/win/dtrans/WinClipboard.cxx
@@ -20,6 +20,7 @@
#include <sal/config.h>
#include <osl/diagnose.h>
+#include <tools/diagnose_ex.h>
#include <com/sun/star/datatransfer/clipboard/ClipboardEvent.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
@@ -268,7 +269,7 @@ void CWinClipboard::notifyAllClipboardListener()
}
catch (uno::RuntimeException&)
{
- OSL_FAIL("RuntimeException caught");
+ TOOLS_WARN_EXCEPTION("vcl", "");
}
}
}