diff options
Diffstat (limited to 'chart2/source/controller/accessibility')
3 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx index 832f48bac59d..fdfbc5b19ad7 100644 --- a/chart2/source/controller/accessibility/AccessibleBase.cxx +++ b/chart2/source/controller/accessibility/AccessibleBase.cxx @@ -87,7 +87,7 @@ AccessibleBase::AccessibleBase( m_bStateSetInitialized( false ) { // initialize some states - OSL_ASSERT( m_xStateSetHelper.is() ); + assert(m_xStateSetHelper.is()); m_xStateSetHelper->AddState( AccessibleStateType::ENABLED ); m_xStateSetHelper->AddState( AccessibleStateType::SHOWING ); m_xStateSetHelper->AddState( AccessibleStateType::VISIBLE ); @@ -97,7 +97,7 @@ AccessibleBase::AccessibleBase( AccessibleBase::~AccessibleBase() { - OSL_ASSERT( m_bIsDisposed ); + assert(m_bIsDisposed); } bool AccessibleBase::CheckDisposeState( bool bThrowException /* default: true */ ) const @@ -177,14 +177,14 @@ bool AccessibleBase::NotifyEvent( EventType eEventType, const AccessibleUniqueId void AccessibleBase::AddState( sal_Int16 aState ) { CheckDisposeState(); - OSL_ASSERT( m_xStateSetHelper.is() ); + assert(m_xStateSetHelper.is()); m_xStateSetHelper->AddState( aState ); } void AccessibleBase::RemoveState( sal_Int16 aState ) { CheckDisposeState(); - OSL_ASSERT( m_xStateSetHelper.is() ); + assert(m_xStateSetHelper.is()); m_xStateSetHelper->RemoveState( aState ); } diff --git a/chart2/source/controller/accessibility/AccessibleChartElement.cxx b/chart2/source/controller/accessibility/AccessibleChartElement.cxx index b231b030c56a..6f113bf7fec8 100644 --- a/chart2/source/controller/accessibility/AccessibleChartElement.cxx +++ b/chart2/source/controller/accessibility/AccessibleChartElement.cxx @@ -55,7 +55,7 @@ AccessibleChartElement::AccessibleChartElement( AccessibleChartElement::~AccessibleChartElement() { - OSL_ASSERT( CheckDisposeState( false /* don't throw exceptions */ ) ); + assert(CheckDisposeState(false /* don't throw exceptions */)); } // ________ protected ________ diff --git a/chart2/source/controller/accessibility/AccessibleChartShape.cxx b/chart2/source/controller/accessibility/AccessibleChartShape.cxx index 2757cef19cb2..c12a8f59a974 100644 --- a/chart2/source/controller/accessibility/AccessibleChartShape.cxx +++ b/chart2/source/controller/accessibility/AccessibleChartShape.cxx @@ -65,7 +65,7 @@ AccessibleChartShape::AccessibleChartShape( AccessibleChartShape::~AccessibleChartShape() { - OSL_ASSERT( CheckDisposeState( false /* don't throw exceptions */ ) ); + assert(CheckDisposeState(false /* don't throw exceptions */)); if ( m_pAccShape.is() ) { |