OStreamSection::~OStreamSection()
{ try
{ // don't allow any exceptions to leave this block, this may be called during the stack unwinding of an exception // handling routing if (m_xInStream.is() && m_xMarkStream.is())
{ // we're working on an input stream
m_xMarkStream->jumpToMark(m_nBlockStart);
m_xInStream->skipBytes(m_nBlockLen);
m_xMarkStream->deleteMark(m_nBlockStart);
} elseif (m_xOutStream.is() && m_xMarkStream.is())
{
sal_Int32 nRealBlockLength = m_xMarkStream->offsetToMark(m_nBlockStart) - sizeof(m_nBlockLen);
m_nBlockLen = nRealBlockLength;
m_xMarkStream->jumpToMark(m_nBlockStart);
m_xOutStream->writeLong(m_nBlockLen);
m_xMarkStream->jumpToFurthest();
m_xMarkStream->deleteMark(m_nBlockStart);
}
} catch(const css::uno::Exception&)
{
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.