diff options
Diffstat (limited to 'sc/source/filter/dif/difexp.cxx')
-rw-r--r-- | sc/source/filter/dif/difexp.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/dif/difexp.cxx b/sc/source/filter/dif/difexp.cxx index c8481a83fe0a..4d0371285f0e 100644 --- a/sc/source/filter/dif/difexp.cxx +++ b/sc/source/filter/dif/difexp.cxx @@ -141,14 +141,14 @@ void ScFormatFilterPluginImpl::ScExportDif( SvStream& rOut, ScDocument* pDoc, for( nRowCnt = rRange.aStart.Row() ; nRowCnt <= nEndRow ; nRowCnt++ ) { - assert(aOS.getLength() == 0); + OSL_ASSERT(aOS.getLength() == 0); aOS.append(pSpecDataType_LF); aOS.append(pKeyBOT); aOS.append('\n'); rOut.WriteUnicodeOrByteText(aOS.makeStringAndClear()); for( nColCnt = rRange.aStart.Col() ; nColCnt <= nEndCol ; nColCnt++ ) { - assert(aOS.getLength() == 0); + OSL_ASSERT(aOS.getLength() == 0); bool bWriteStringData = false; ScRefCellValue aCell(*pDoc, ScAddress(nColCnt, nRowCnt, nTab)); @@ -196,7 +196,7 @@ void ScFormatFilterPluginImpl::ScExportDif( SvStream& rOut, ScDocument* pDoc, // sc/source/ui/docsh.cxx:ScDocShell::AsciiSave() // In fact we should create a common method if this would be // needed just one more time.. - assert(aOS.getLength() == 0); + OSL_ASSERT(aOS.getLength() == 0); OUString aTmpStr = aString; aOS.append(pStringData); rOut.WriteUnicodeOrByteText(aOS.makeStringAndClear(), eCharSet); @@ -257,7 +257,7 @@ void ScFormatFilterPluginImpl::ScExportDif( SvStream& rOut, ScDocument* pDoc, aPrgrsBar.SetState( nRowCnt ); } - assert(aOS.getLength() == 0); + OSL_ASSERT(aOS.getLength() == 0); aOS.append(pSpecDataType_LF); aOS.append(pKeyEOD); aOS.append('\n'); |