summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/access/accmap.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index 7ea16d4c0c60..aa00caadbd83 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -1700,8 +1700,8 @@ SwAccessibleMap::~SwAccessibleMap()
{
osl::MutexGuard aGuard( maMutex );
#if OSL_DEBUG_LEVEL > 0
- OSL_ENSURE( !mpFrameMap || mpFrameMap->empty(),
- "Frame map should be empty after disposing the root frame" );
+ assert((!mpFrameMap || mpFrameMap->empty()) &&
+ "Frame map should be empty after disposing the root frame");
if( mpFrameMap )
{
SwAccessibleContextMap_Impl::iterator aIter = mpFrameMap->begin();
@@ -1717,8 +1717,8 @@ SwAccessibleMap::~SwAccessibleMap()
++aIter;
}
}
- OSL_ENSURE( !mpShapeMap || mpShapeMap->empty(),
- "Object map should be empty after disposing the root frame" );
+ assert((!mpShapeMap || mpShapeMap->empty()) &&
+ "Object map should be empty after disposing the root frame");
if( mpShapeMap )
{
SwAccessibleShapeMap_Impl::iterator aIter = mpShapeMap->begin();
@@ -1751,7 +1751,7 @@ SwAccessibleMap::~SwAccessibleMap()
{
osl::MutexGuard aGuard( maEventMutex );
#if OSL_DEBUG_LEVEL > 0
- OSL_ENSURE( !(mpEvents || mpEventMap), "pending events" );
+ assert(!(mpEvents || mpEventMap));
if( mpEvents )
{
SwAccessibleEventList_Impl::iterator aIter = mpEvents->begin();