summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/accessiblewrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/accessiblewrapper.cxx')
-rw-r--r--comphelper/source/misc/accessiblewrapper.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/comphelper/source/misc/accessiblewrapper.cxx b/comphelper/source/misc/accessiblewrapper.cxx
index 0ed694856b97..650130939cda 100644
--- a/comphelper/source/misc/accessiblewrapper.cxx
+++ b/comphelper/source/misc/accessiblewrapper.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -160,8 +161,7 @@ namespace comphelper
if (!m_aChildrenMap.insert(
AccessibleMap::value_type( _rxKey, xValue ) ).second)
{
- OSL_ENSURE(
- false,
+ OSL_FAIL(
"OWrappedAccessibleChildrenManager::"
"getAccessibleWrapperFor: element was already"
" inserted!" );
@@ -249,7 +249,7 @@ namespace comphelper
break;
default:
- OSL_ENSURE( sal_False, "OWrappedAccessibleChildrenManager::translateAccessibleEvent: unknown (or unexpected) event id!" );
+ OSL_FAIL( "OWrappedAccessibleChildrenManager::translateAccessibleEvent: unknown (or unexpected) event id!" );
break;
}
}
@@ -279,8 +279,7 @@ namespace comphelper
#if OSL_DEBUG_LEVEL > 0
if ( m_aChildrenMap.end() == aDisposedPos )
{
- OSL_ENSURE( sal_False,
- "OWrappedAccessibleChildrenManager::disposing: where did this come from?" );
+ OSL_FAIL( "OWrappedAccessibleChildrenManager::disposing: where did this come from?" );
// helper for dignostics
Reference< XAccessible > xOwningAccessible( m_aOwningAccessible );
Reference< XAccessibleContext > xContext;
@@ -681,3 +680,5 @@ namespace comphelper
//.............................................................................
} // namespace accessibility
//.............................................................................
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */