22#include <osl/diagnose.h>
23#include <com/sun/star/uno/Any.hxx>
24#include <com/sun/star/uno/Sequence.hxx>
53 css::uno::Sequence< sal_Int8 >
aSeq;
56 if (
aSeq.hasElements() )
70 OSL_FAIL(
"SfxLockBytesItem::PutValue - Wrong type!" );
87 std::size_t nRead = 0;
88 css::uno::Sequence< sal_Int8 >
aSeq( nLen );
90 _xVal->ReadAt( 0,
aSeq.getArray(), nLen, &nRead );
95 css::uno::Sequence< sal_Int8 >
aSeq( 0 );
Base class for providers of defaults of SfxPoolItems.
virtual ~SfxLockBytesItem() override
virtual bool operator==(const SfxPoolItem &) const override
static SfxPoolItem * CreateDefault()
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
virtual SfxLockBytesItem * Clone(SfxItemPool *pPool=nullptr) const override
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
virtual bool operator==(const SfxPoolItem &) const =0
std::size_t WriteBytes(const void *pData, std::size_t nSize)
sal_uInt64 Seek(sal_uInt64 nPos)
Sequence< sal_Int8 > aSeq