20#include <com/sun/star/lang/DisposedException.hpp>
23#include <osl/diagnose.h>
32 uno::Reference < io::XInputStream >
const & xStream,
33 const uno::Sequence< beans::PropertyValue >& aProps,
34 sal_Int32 nStorageType )
38 OSL_ENSURE(
m_xSeekable.is(),
"No seeking support!" );
42 const uno::Sequence< beans::PropertyValue >& aProps,
43 sal_Int32 nStorageType )
47 OSL_ENSURE(
m_xSeekable.is(),
"No seeking support!" );
57 OInputCompStream::getTypes());
67 uno::Any aReturn( ::cppu::queryInterface( rType,
68 static_cast< io::XSeekable*
>(
this ) ) );
81 OInputCompStream::acquire();
87 OInputCompStream::release();
92 ::osl::MutexGuard aGuard(
m_xMutex->GetMutex() );
95 SAL_INFO(
"package.xstor",
"Disposed!");
96 throw lang::DisposedException();
101 SAL_INFO(
"package.xstor",
"No seekable!");
102 throw uno::RuntimeException();
110 ::osl::MutexGuard aGuard(
m_xMutex->GetMutex() );
113 SAL_INFO(
"package.xstor",
"Disposed!");
114 throw lang::DisposedException();
119 SAL_INFO(
"package.xstor",
"No seekable!");
120 throw uno::RuntimeException();
128 ::osl::MutexGuard aGuard(
m_xMutex->GetMutex() );
131 SAL_INFO(
"package.xstor",
"Disposed!");
132 throw lang::DisposedException();
137 SAL_INFO(
"package.xstor",
"No seekable!");
138 throw uno::RuntimeException();
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes()
uno::Reference< io::XSeekable > m_xSeekable
#define SAL_INFO(area, stream)