diff options
author | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-11-25 17:08:45 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-11-25 17:12:34 +0100 |
commit | c16ba8a04fd4599e439e7e039705e41691c43acb (patch) | |
tree | 66a1c67973a674245548e10ff0746d1e473a7703 /sw/source/core/access/accdoc.cxx | |
parent | e9eaf033646695987e218907a565b555b976c5c8 (diff) |
Removed DBG_UTIL from sw
* Fixed the different dbglevel builds
* This needed to change all the sw local ASSERT to OSL_ENSURE...
Diffstat (limited to 'sw/source/core/access/accdoc.cxx')
-rw-r--r-- | sw/source/core/access/accdoc.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx index 68a9e824e70a..956198146914 100644 --- a/sw/source/core/access/accdoc.cxx +++ b/sw/source/core/access/accdoc.cxx @@ -99,7 +99,7 @@ void SwAccessibleDocumentBase::AddChild( Window *pWin, sal_Bool bFireEvent ) { SolarMutexGuard aGuard; - ASSERT( !mpChildWin, "only one child window is supported" ); + OSL_ENSURE( !mpChildWin, "only one child window is supported" ); if( !mpChildWin ) { mpChildWin = pWin; @@ -118,7 +118,7 @@ void SwAccessibleDocumentBase::RemoveChild( Window *pWin ) { SolarMutexGuard aGuard; - ASSERT( !mpChildWin || pWin == mpChildWin, "invalid child window to remove" ); + OSL_ENSURE( !mpChildWin || pWin == mpChildWin, "invalid child window to remove" ); if( mpChildWin && pWin == mpChildWin ) { AccessibleEventObject aEvent; @@ -338,7 +338,7 @@ SwAccessibleDocument::~SwAccessibleDocument() void SwAccessibleDocument::Dispose( sal_Bool bRecursive ) { - ASSERT( GetFrm() && GetMap(), "already disposed" ); + OSL_ENSURE( GetFrm() && GetMap(), "already disposed" ); Window *pWin = GetMap() ? GetMap()->GetShell()->GetWin() : 0; if( pWin ) |