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/accessiblelistboxentry.cxx | |
parent | ridljar: partially revert 4418ad0388b58cab6a129908f78baec5bc73906e (diff) | |
download | core-caf0e31e2478884839456bd499fc943324121d77.tar.gz core-caf0e31e2478884839456bd499fc943324121d77.zip |
fdo#39425: Replace DBG_ASSERT macros with OSL_ equivalents in accessibility
Change-Id: I4f8fb4ffa8bcd5a503374040ada191ccf1f89013
Diffstat (limited to 'accessibility/source/extended/accessiblelistboxentry.cxx')
-rw-r--r-- | accessibility/source/extended/accessiblelistboxentry.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx index 74b99ac0b49c..06c14f49561b 100644 --- a/accessibility/source/extended/accessiblelistboxentry.cxx +++ b/accessibility/source/extended/accessiblelistboxentry.cxx @@ -344,7 +344,7 @@ namespace accessibility Reference< XAccessible > xParent = (Reference< XAccessible >)m_aParent; if ( !xParent.is() ) { - DBG_ASSERT( m_aEntryPath.size(), "AccessibleListBoxEntry::getAccessibleParent: invalid path!" ); + OSL_ENSURE( m_aEntryPath.size(), "AccessibleListBoxEntry::getAccessibleParent: invalid path!" ); if ( 1 == m_aEntryPath.size() ) { // we're a top level entry // -> our parent is the tree listbox itself @@ -360,7 +360,7 @@ namespace accessibility // get the entry for this shortened access path SvLBoxEntry* pParentEntry = getListBox()->GetEntryFromPath( m_aEntryPath ); - DBG_ASSERT( pParentEntry, "AccessibleListBoxEntry::implGetParentAccessible: could not obtain a parent entry!" ); + OSL_ENSURE( pParentEntry, "AccessibleListBoxEntry::implGetParentAccessible: could not obtain a parent entry!" ); if ( pParentEntry ) xParent = new AccessibleListBoxEntry( *getListBox(), pParentEntry, NULL ); @@ -387,7 +387,7 @@ namespace accessibility { ::osl::MutexGuard aGuard( m_aMutex ); - DBG_ASSERT( !m_aEntryPath.empty(), "empty path" ); + OSL_ENSURE( !m_aEntryPath.empty(), "empty path" ); return m_aEntryPath.empty() ? -1 : m_aEntryPath.back(); } // ----------------------------------------------------------------------------- |