summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 11:29:14 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:12:11 +0100
commit5ad692096323fcdf03823352b70bb7e71660919c (patch)
treefd3b578bd023400fc9daeed37cad2dbe4a5c9004 /accessibility
parent678cbfa572eacbbdbd989b0d7c39ac6d33583e2a (diff)
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/extended/accessibleeditbrowseboxcell.cxx2
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx2
2 files changed, 2 insertions, 2 deletions
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;
}
}