20#include <com/sun/star/script/Converter.hpp>
36 , m_aList(
std::move(rList) )
52 if ( !SfxPoolItem::operator==(rPoolItem) )
66 css::uno::Reference < css::script::XTypeConverter >
xConverter
67 ( css::script::Converter::create(::comphelper::getProcessComponentContext()) );
70 catch (css::uno::Exception&)
75 css::uno::Sequence<sal_Int32> aTempSeq;
76 bool bRet = aNew >>= aTempSeq;
78 m_aList = comphelper::sequenceToContainer<std::vector<sal_Int32>>(aTempSeq);
virtual ~SfxIntegerListItem() override
virtual bool operator==(const SfxPoolItem &) const override
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
std::vector< sal_Int32 > m_aList
static SfxPoolItem * CreateDefault()
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
virtual SfxIntegerListItem * Clone(SfxItemPool *pPool=nullptr) const override
Base class for providers of defaults of SfxPoolItems.
Reference< XTypeConverter > xConverter
DstType sequenceToContainer(const css::uno::Sequence< SrcType > &i_Sequence)
css::uno::Sequence< DstElementType > containerToSequence(const SrcType &i_Container)