summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/filter/excel/xistream.cxx1
-rw-r--r--tools/source/stream/stream.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xistream.cxx b/sc/source/filter/excel/xistream.cxx
index 5f98314fb895..d31268c186e9 100644
--- a/sc/source/filter/excel/xistream.cxx
+++ b/sc/source/filter/excel/xistream.cxx
@@ -430,7 +430,6 @@ XclImpStream::XclImpStream( SvStream& rInStrm, const XclImpRoot& rRoot, bool bCo
mrStrm.Seek( STREAM_SEEK_TO_END );
mnStreamSize = mrStrm.Tell();
mrStrm.Seek( STREAM_SEEK_TO_BEGIN );
- OSL_ENSURE( mnStreamSize < STREAM_SEEK_TO_END, "XclImpStream::XclImpStream - stream error" );
}
XclImpStream::~XclImpStream()
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 9921d6f8a4dc..a8ce39c5d63b 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1769,7 +1769,6 @@ void* SvMemoryStream::SetBuffer( void* pNewBuf, sal_Size nCount,
ResetError();
- DBG_ASSERT( nEndOfData<STREAM_SEEK_TO_END,"Invalid EOF");
return pResult;
}