diff options
author | Jacek Wolszczak <shutdownrunner@gmail.com> | 2011-08-21 09:13:24 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-29 23:31:48 +0200 |
commit | caf0e31e2478884839456bd499fc943324121d77 (patch) | |
tree | 93389237f7bad4c827cad31a8396159d81d37f33 /accessibility/source/extended/AccessibleGridControl.cxx | |
parent | 450bf77d29c3f2b23bea816be94a346645341cf7 (diff) |
fdo#39425: Replace DBG_ASSERT macros with OSL_ equivalents in accessibility
Change-Id: I4f8fb4ffa8bcd5a503374040ada191ccf1f89013
Diffstat (limited to 'accessibility/source/extended/AccessibleGridControl.cxx')
-rw-r--r-- | accessibility/source/extended/AccessibleGridControl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/source/extended/AccessibleGridControl.cxx b/accessibility/source/extended/AccessibleGridControl.cxx index 1472a58fb14b..a1a5c2cb147a 100644 --- a/accessibility/source/extended/AccessibleGridControl.cxx +++ b/accessibility/source/extended/AccessibleGridControl.cxx @@ -236,7 +236,7 @@ OUString SAL_CALL AccessibleGridControl::getImplementationName() Rectangle AccessibleGridControl::implGetBoundingBox() { Window* pParent = m_aTable.GetAccessibleParentWindow(); - DBG_ASSERT( pParent, "implGetBoundingBox - missing parent window" ); + OSL_ENSURE( pParent, "implGetBoundingBox - missing parent window" ); return m_aTable.GetWindowExtentsRelative( pParent ); } // ----------------------------------------------------------------------------- @@ -310,7 +310,7 @@ AccessibleGridControl::implGetFixedChild( sal_Int32 nChildIndex ) AccessibleGridControlTable* AccessibleGridControl::createAccessibleTable() { Reference< XAccessible > xCreator = (Reference< XAccessible >)m_pImpl->m_aCreator; - DBG_ASSERT( xCreator.is(), "accessibility/extended/AccessibleGirdControl::createAccessibleTable: my creator died - how this?" ); + OSL_ENSURE( xCreator.is(), "accessibility/extended/AccessibleGirdControl::createAccessibleTable: my creator died - how this?" ); return new AccessibleGridControlTable( xCreator, m_aTable, TCTYPE_TABLE ); } // ============================================================================ @@ -344,7 +344,7 @@ Reference< XAccessibleContext > SAL_CALL AccessibleGridControlAccess::getAccessi { ::osl::MutexGuard aGuard( m_aMutex ); - DBG_ASSERT( ( m_pContext && m_xContext.is() ) || ( !m_pContext && !m_xContext.is() ), + OSL_ENSURE( ( m_pContext && m_xContext.is() ) || ( !m_pContext && !m_xContext.is() ), "accessibility/extended/AccessibleGridControlAccess::getAccessibleContext: inconsistency!" ); // if the context died meanwhile (we're no listener, so it won't tell us explicitily when this happens), |