summaryrefslogtreecommitdiff
path: root/comphelper/source/streaming
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2001-03-22 12:33:25 +0000
committerJoachim Lingner <jl@openoffice.org>2001-03-22 12:33:25 +0000
commitf91d296f173e86a95b8077537e91efb05a232ef6 (patch)
treea789efa9fc6067adec97a30c77429ad62c8956d6 /comphelper/source/streaming
parenta6ae2f1e6f9af3fe8a1f4951f630dc189e3ab437 (diff)
OSL_ENSHURE replaced by OSL_ENSHURE
Diffstat (limited to 'comphelper/source/streaming')
-rw-r--r--comphelper/source/streaming/seqstream.cxx10
-rw-r--r--comphelper/source/streaming/streamsection.cxx8
2 files changed, 9 insertions, 9 deletions
diff --git a/comphelper/source/streaming/seqstream.cxx b/comphelper/source/streaming/seqstream.cxx
index f760e088de22..5677e5e44a9f 100644
--- a/comphelper/source/streaming/seqstream.cxx
+++ b/comphelper/source/streaming/seqstream.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: seqstream.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: oj $ $Date: 2001-02-02 16:10:26 $
+ * last change: $Author: jl $ $Date: 2001-03-22 13:33:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -169,8 +169,8 @@ OSequenceOutputStream::OSequenceOutputStream(Sequence< sal_Int8 >& _rSeq, double
,m_nSize(0) // starting at position 0
,m_bConnected(sal_True)
{
- OSL_ENSHURE(m_nResizeFactor > 1, "OSequenceOutputStream::OSequenceOutputStream : invalid resize factor !");
- OSL_ENSHURE((m_nMaximumResize < 0) || (m_nMaximumResize > m_nMinimumResize),
+ OSL_ENSURE(m_nResizeFactor > 1, "OSequenceOutputStream::OSequenceOutputStream : invalid resize factor !");
+ OSL_ENSURE((m_nMaximumResize < 0) || (m_nMaximumResize > m_nMinimumResize),
"OSequenceOutputStream::OSequenceOutputStream : these limits don't make any sense !");
if (m_nResizeFactor <= 1)
@@ -223,7 +223,7 @@ void SAL_CALL OSequenceOutputStream::writeBytes( const Sequence< sal_Int8 >& _rD
m_rSequence.realloc(nNewLength);
}
- OSL_ENSHURE(m_rSequence.getLength() >= m_nSize + _rData.getLength(),
+ OSL_ENSURE(m_rSequence.getLength() >= m_nSize + _rData.getLength(),
"ooops ... the realloc algorithm seems to be wrong :( !");
memcpy(m_rSequence.getArray() + m_nSize, _rData.getConstArray(), _rData.getLength());
diff --git a/comphelper/source/streaming/streamsection.cxx b/comphelper/source/streaming/streamsection.cxx
index 3bd940849b4c..5c79762bcddb 100644
--- a/comphelper/source/streaming/streamsection.cxx
+++ b/comphelper/source/streaming/streamsection.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: streamsection.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: fs $ $Date: 2000-09-29 11:28:15 $
+ * last change: $Author: jl $ $Date: 2001-03-22 13:33:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -77,7 +77,7 @@ OStreamSection::OStreamSection(const staruno::Reference< stario::XDataInputStrea
,m_nBlockStart(-1)
,m_nBlockLen(-1)
{
- OSL_ENSHURE(m_xInStream.is() && m_xMarkStream.is(), "OStreamSection::OStreamSection : invalid argument !");
+ OSL_ENSURE(m_xInStream.is() && m_xMarkStream.is(), "OStreamSection::OStreamSection : invalid argument !");
if (m_xInStream.is() && m_xMarkStream.is())
{
m_nBlockLen = _rxInput->readLong();
@@ -92,7 +92,7 @@ OStreamSection::OStreamSection(const staruno::Reference< stario::XDataOutputStre
,m_nBlockStart(-1)
,m_nBlockLen(-1)
{
- OSL_ENSHURE(m_xOutStream.is() && m_xMarkStream.is(), "OStreamSection::OStreamSection : invalid argument !");
+ OSL_ENSURE(m_xOutStream.is() && m_xMarkStream.is(), "OStreamSection::OStreamSection : invalid argument !");
if (m_xOutStream.is() && m_xMarkStream.is())
{
m_nBlockStart = m_xMarkStream->createMark();