From 5ad692096323fcdf03823352b70bb7e71660919c Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 12 Mar 2011 11:29:14 +0100 Subject: Move OSL_ENSURE(false,...) to OSL_FAIL(...) --- accessibility/source/extended/accessibleeditbrowseboxcell.cxx | 2 +- accessibility/source/extended/textwindowaccessibility.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'accessibility/source/extended') diff --git a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx index 5312717034ee..30c300ced2a8 100644 --- a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx +++ b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx @@ -259,7 +259,7 @@ namespace accessibility catch( const Exception& e ) { (void)e; - OSL_ENSURE( false, "EditBrowseBoxTableCellAccess::disposing: caught an exception while disposing the context!" ); + OSL_FAIL( "EditBrowseBoxTableCellAccess::disposing: caught an exception while disposing the context!" ); } } diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index f3b209d419bc..2d0b0b5d20fe 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -2003,7 +2003,7 @@ void Document::handleParagraphNotifications() break; } default: - OSL_ENSURE(false, "bad buffered hint"); + OSL_FAIL( "bad buffered hint"); break; } } -- cgit