diff options
Diffstat (limited to 'sc/source/core/data/columniterator.cxx')
-rw-r--r-- | sc/source/core/data/columniterator.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/core/data/columniterator.cxx b/sc/source/core/data/columniterator.cxx index 9bf86c850d69..bff9aa1e9033 100644 --- a/sc/source/core/data/columniterator.cxx +++ b/sc/source/core/data/columniterator.cxx @@ -62,7 +62,7 @@ void ScColumnTextWidthIterator::next() } // Reached the end. - assert(miBlockCur == miBlockEnd); + OSL_ASSERT(miBlockCur == miBlockEnd); } bool ScColumnTextWidthIterator::hasCell() const @@ -72,19 +72,19 @@ bool ScColumnTextWidthIterator::hasCell() const SCROW ScColumnTextWidthIterator::getPos() const { - assert(miBlockCur != miBlockEnd && miDataCur != miDataEnd); + OSL_ASSERT(miBlockCur != miBlockEnd && miDataCur != miDataEnd); return static_cast<SCROW>(mnCurPos); } sal_uInt16 ScColumnTextWidthIterator::getValue() const { - assert(miBlockCur != miBlockEnd && miDataCur != miDataEnd); + OSL_ASSERT(miBlockCur != miBlockEnd && miDataCur != miDataEnd); return miDataCur->mnTextWidth; } void ScColumnTextWidthIterator::setValue(sal_uInt16 nVal) { - assert(miBlockCur != miBlockEnd && miDataCur != miDataEnd); + OSL_ASSERT(miBlockCur != miBlockEnd && miDataCur != miDataEnd); miDataCur->mnTextWidth = nVal; } @@ -141,7 +141,7 @@ void ScColumnTextWidthIterator::init(SCROW nStartRow, SCROW nEndRow) } // Not found. - assert(miBlockCur == miBlockEnd); + OSL_ASSERT(miBlockCur == miBlockEnd); } void ScColumnTextWidthIterator::getDataIterators(size_t nOffsetInBlock) |