diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 10:20:12 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 10:20:12 +1000 |
commit | bbbb81b4c5380bb8bd8ba035177c5de59eb667bb (patch) | |
tree | 72e74c309ebc66a7cc9a214f68bb2e9a8aaabc2a /editeng | |
parent | 33f1e7eaf99c75327bde64109739ae3e052e40eb (diff) |
tdf#43157: convert editeng module away from OSL_ASSERT to assert
Change-Id: Iad5ad8ce11be2fbafd50f46e68947e10752bd609
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/outliner/paralist.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/outliner/paralist.cxx b/editeng/source/outliner/paralist.cxx index 61251922d3bc..708989afda38 100644 --- a/editeng/source/outliner/paralist.cxx +++ b/editeng/source/outliner/paralist.cxx @@ -145,7 +145,7 @@ void ParagraphList::Remove( sal_Int32 nPara ) void ParagraphList::MoveParagraphs( sal_Int32 nStart, sal_Int32 nDest, sal_Int32 _nCount ) { - OSL_ASSERT(static_cast<size_t>(nStart) < maEntries.size() && static_cast<size_t>(nDest) < maEntries.size()); + assert(static_cast<size_t>(nStart) < maEntries.size() && static_cast<size_t>(nDest) < maEntries.size()); if ( (( nDest < nStart ) || ( nDest >= ( nStart + _nCount ) )) && nStart >= 0 && nDest >= 0 && _nCount >= 0 ) { |