diff options
Diffstat (limited to 'sw/source/core/access/acccontext.cxx')
-rw-r--r-- | sw/source/core/access/acccontext.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/access/acccontext.cxx b/sw/source/core/access/acccontext.cxx index 1e84758477ac..f00218c71d70 100644 --- a/sw/source/core/access/acccontext.cxx +++ b/sw/source/core/access/acccontext.cxx @@ -679,7 +679,7 @@ sal_Int16 SAL_CALL SwAccessibleContext::getAccessibleRole (void) OUString SAL_CALL SwAccessibleContext::getAccessibleDescription (void) throw (uno::RuntimeException, std::exception) { - OSL_ENSURE( !this, "description needs to be overloaded" ); + OSL_ENSURE( false, "description needs to be overloaded" ); THROW_RUNTIME_EXCEPTION( XAccessibleContext, "internal error (method must be overloaded)" ); } @@ -987,7 +987,7 @@ sal_Int32 SAL_CALL SwAccessibleContext::getBackground() OUString SAL_CALL SwAccessibleContext::getImplementationName() throw( uno::RuntimeException, std::exception ) { - OSL_ENSURE( !this, "implementation name needs to be overloaded" ); + OSL_ENSURE( false, "implementation name needs to be overloaded" ); THROW_RUNTIME_EXCEPTION( lang::XServiceInfo, "implementation name needs to be overloaded" ) } @@ -1001,7 +1001,7 @@ sal_Bool SAL_CALL SwAccessibleContext::supportsService (const OUString& ServiceN uno::Sequence< OUString > SAL_CALL SwAccessibleContext::getSupportedServiceNames() throw( uno::RuntimeException, std::exception ) { - OSL_ENSURE( !this, "supported services names needs to be overloaded" ); + OSL_ENSURE( false, "supported services names needs to be overloaded" ); THROW_RUNTIME_EXCEPTION( lang::XServiceInfo, "supported services needs to be overloaded" ) } |