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 | df07d391d83966cf2369ac7fec8d0b88cbe49bcf (patch) | |
tree | dfba6829252f68ebb66a4aeffb04196ff81f6498 /sw/source/core/undo/unredln.cxx | |
parent | 228904385d4b23962361bbd2753a46256fba1ad9 (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/undo/unredln.cxx')
-rw-r--r-- | sw/source/core/undo/unredln.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/unredln.cxx b/sw/source/core/undo/unredln.cxx index a2c573419b..ffb7281559 100644 --- a/sw/source/core/undo/unredln.cxx +++ b/sw/source/core/undo/unredln.cxx @@ -260,7 +260,7 @@ void SwUndoRedlineSort::_Undo( SwUndoIter& rIter ) USHORT nFnd = rDoc.GetRedlinePos( *rDoc.GetNodes()[ nSttNode + 1 ], nsRedlineType_t::REDLINE_INSERT ); - ASSERT( USHRT_MAX != nFnd && nFnd+1 < rDoc.GetRedlineTbl().Count(), + OSL_ENSURE( USHRT_MAX != nFnd && nFnd+1 < rDoc.GetRedlineTbl().Count(), "kein Insert Object gefunden" ); ++nFnd; rDoc.GetRedlineTbl()[nFnd]->Show( 1 ); |