diff options
Diffstat (limited to 'sdext/source/presenter/PresenterTextView.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterTextView.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx index 2b71b407cb09..f876ea729194 100644 --- a/sdext/source/presenter/PresenterTextView.cxx +++ b/sdext/source/presenter/PresenterTextView.cxx @@ -627,7 +627,7 @@ sal_Int32 PresenterTextParagraph::GetWordBoundary( const sal_Int32 nLocalCharacterIndex, const sal_Int32 nDistance) { - assert(nDistance==-1 || nDistance==+1); + OSL_ASSERT(nDistance==-1 || nDistance==+1); if (nLocalCharacterIndex < 0) { @@ -1207,7 +1207,7 @@ void PresenterTextParagraph::Line::ProvideCellBoxes() maCellBoxes = mxLayoutedLine->queryInkMeasures(); else { - assert(mxLayoutedLine.is()); + OSL_ASSERT(mxLayoutedLine.is()); } } } |