diff options
Diffstat (limited to 'chart2/source/controller/accessibility')
-rw-r--r-- | chart2/source/controller/accessibility/AccessibleBase.cxx | 2 | ||||
-rw-r--r-- | chart2/source/controller/accessibility/AccessibleTextHelper.cxx | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx index ab3ebe750ff7..da0ffe71eca7 100644 --- a/chart2/source/controller/accessibility/AccessibleBase.cxx +++ b/chart2/source/controller/accessibility/AccessibleBase.cxx @@ -395,7 +395,7 @@ awt::Point AccessibleBase::GetUpperLeftOnScreen() const aResult = pParent->GetUpperLeftOnScreen(); } else - OSL_ENSURE( false, "Default position used is probably incorrect." ); + OSL_FAIL( "Default position used is probably incorrect." ); } return aResult; diff --git a/chart2/source/controller/accessibility/AccessibleTextHelper.cxx b/chart2/source/controller/accessibility/AccessibleTextHelper.cxx index 9fd7695b301a..818a7b90256c 100644 --- a/chart2/source/controller/accessibility/AccessibleTextHelper.cxx +++ b/chart2/source/controller/accessibility/AccessibleTextHelper.cxx @@ -139,49 +139,49 @@ Reference< XAccessible > SAL_CALL AccessibleTextHelper::getAccessibleChild( ::sa Reference< XAccessible > SAL_CALL AccessibleTextHelper::getAccessibleParent() throw (uno::RuntimeException) { - OSL_ENSURE( false, "Not implemented in this helper" ); + OSL_FAIL( "Not implemented in this helper" ); return Reference< XAccessible >(); } ::sal_Int32 SAL_CALL AccessibleTextHelper::getAccessibleIndexInParent() throw (uno::RuntimeException) { - OSL_ENSURE( false, "Not implemented in this helper" ); + OSL_FAIL( "Not implemented in this helper" ); return -1; } ::sal_Int16 SAL_CALL AccessibleTextHelper::getAccessibleRole() throw (uno::RuntimeException) { - OSL_ENSURE( false, "Not implemented in this helper" ); + OSL_FAIL( "Not implemented in this helper" ); return AccessibleRole::UNKNOWN; } OUString SAL_CALL AccessibleTextHelper::getAccessibleDescription() throw (uno::RuntimeException) { - OSL_ENSURE( false, "Not implemented in this helper" ); + OSL_FAIL( "Not implemented in this helper" ); return OUString(); } OUString SAL_CALL AccessibleTextHelper::getAccessibleName() throw (uno::RuntimeException) { - OSL_ENSURE( false, "Not implemented in this helper" ); + OSL_FAIL( "Not implemented in this helper" ); return OUString(); } Reference< XAccessibleRelationSet > SAL_CALL AccessibleTextHelper::getAccessibleRelationSet() throw (uno::RuntimeException) { - OSL_ENSURE( false, "Not implemented in this helper" ); + OSL_FAIL( "Not implemented in this helper" ); return Reference< XAccessibleRelationSet >(); } Reference< XAccessibleStateSet > SAL_CALL AccessibleTextHelper::getAccessibleStateSet() throw (uno::RuntimeException) { - OSL_ENSURE( false, "Not implemented in this helper" ); + OSL_FAIL( "Not implemented in this helper" ); return Reference< XAccessibleStateSet >(); } @@ -189,7 +189,7 @@ lang::Locale SAL_CALL AccessibleTextHelper::getLocale() throw (IllegalAccessibleComponentStateException, uno::RuntimeException) { - OSL_ENSURE( false, "Not implemented in this helper" ); + OSL_FAIL( "Not implemented in this helper" ); return lang::Locale(); } |