23#include <com/sun/star/io/IOException.hpp>
25#include <osl/diagnose.h>
31#if OSL_DEBUG_LEVEL > 0
32#define THROW_WHERE SAL_WHERE
39: m_xMutex(
std::move( xMutexRef ))
40, m_xInStream(
std::move( xInStream ))
45 OSL_FAIL(
"Wrong initialization of wrapping stream!" );
84 ::osl::MutexGuard aGuard(
m_xMutex->GetMutex() );
97 ::osl::MutexGuard aGuard(
m_xMutex->GetMutex() );
107 ::osl::MutexGuard aGuard(
m_xMutex->GetMutex() );
121 ::osl::MutexGuard aGuard(
m_xMutex->GetMutex() );
134 ::osl::MutexGuard aGuard(
m_xMutex->GetMutex() );
144 ::osl::MutexGuard aGuard(
m_xMutex->GetMutex() );
virtual sal_Int32 SAL_CALL readSomeBytes(css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nMaxBytesToRead) override
virtual ~WrapStreamForShare() override
css::uno::Reference< css::io::XSeekable > m_xSeekable
virtual sal_Int32 SAL_CALL readBytes(css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nBytesToRead) override
virtual sal_Int64 SAL_CALL getLength() override
css::uno::Reference< css::io::XInputStream > m_xInStream
virtual void SAL_CALL skipBytes(sal_Int32 nBytesToSkip) override
virtual void SAL_CALL seek(sal_Int64 location) override
rtl::Reference< comphelper::RefCountedMutex > m_xMutex
virtual sal_Int64 SAL_CALL getPosition() override
virtual sal_Int32 SAL_CALL available() override
WrapStreamForShare(css::uno::Reference< css::io::XInputStream > xInStream, rtl::Reference< comphelper::RefCountedMutex > xMutexRef)
virtual void SAL_CALL closeInput() override
constexpr OUStringLiteral aData