diff options
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/os2/clipb/Os2Clipboard.cxx | 4 | ||||
-rw-r--r-- | dtrans/source/win32/clipb/WinClipboard.cxx | 4 | ||||
-rw-r--r-- | dtrans/source/win32/dnd/source.cxx | 2 | ||||
-rw-r--r-- | dtrans/source/win32/dtobj/FmtFilter.cxx | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/dtrans/source/os2/clipb/Os2Clipboard.cxx b/dtrans/source/os2/clipb/Os2Clipboard.cxx index 260c58f0d46f..76df3e4945c4 100644 --- a/dtrans/source/os2/clipb/Os2Clipboard.cxx +++ b/dtrans/source/os2/clipb/Os2Clipboard.cxx @@ -390,14 +390,14 @@ void SAL_CALL Os2Clipboard::notifyAllClipboardListener( ) } catch(RuntimeException&) { - OSL_ENSURE( false, "RuntimeException caught" ); + OSL_FAIL( "RuntimeException caught" ); debug_printf( "RuntimeException caught" ); } } } catch(const ::com::sun::star::lang::DisposedException&) { - OSL_ENSURE(false, "Service Manager disposed"); + OSL_FAIL("Service Manager disposed"); debug_printf( "Service Manager disposed"); // no further clipboard changed notifications diff --git a/dtrans/source/win32/clipb/WinClipboard.cxx b/dtrans/source/win32/clipb/WinClipboard.cxx index 76cf9bc2711b..5afd70cd44a9 100644 --- a/dtrans/source/win32/clipb/WinClipboard.cxx +++ b/dtrans/source/win32/clipb/WinClipboard.cxx @@ -256,13 +256,13 @@ void SAL_CALL CWinClipboard::notifyAllClipboardListener( ) } catch(RuntimeException&) { - OSL_ENSURE( false, "RuntimeException caught" ); + OSL_FAIL( "RuntimeException caught" ); } } } catch(const ::com::sun::star::lang::DisposedException&) { - OSL_ENSURE(false, "Service Manager disposed"); + OSL_FAIL("Service Manager disposed"); // no further clipboard changed notifications m_pImpl->unregisterClipboardViewer(); diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx index 6e1f9f5b1bb5..a8f04a868e93 100644 --- a/dtrans/source/win32/dnd/source.cxx +++ b/dtrans/source/win32/dnd/source.cxx @@ -229,7 +229,7 @@ void SAL_CALL DragSource::startDrag( } catch(RuntimeException&) { - OSL_ENSURE(false, "Runtime exception during event dispatching"); + OSL_FAIL("Runtime exception during event dispatching"); } } } diff --git a/dtrans/source/win32/dtobj/FmtFilter.cxx b/dtrans/source/win32/dtobj/FmtFilter.cxx index 235c63e298f9..7fd23567d16b 100644 --- a/dtrans/source/win32/dtobj/FmtFilter.cxx +++ b/dtrans/source/win32/dtobj/FmtFilter.cxx @@ -470,7 +470,7 @@ std::wstring getShellLinkTarget(const std::wstring& aLnkFile) } catch(sal::systools::ComError& ex) { - OSL_ENSURE(false, ex.what()); + OSL_FAIL(ex.what()); ex = ex; } return target; |