diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-03 12:03:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-03 13:57:23 +0200 |
commit | e6721d2d17f5f34dcac14c3379521bb7fb6b8c03 (patch) | |
tree | bba3964ac2a6dd225d8087aa01594ea717d2a359 /include | |
parent | ea297dd2020c03673745428381e8a2b11b83f23b (diff) |
uno::Sequence->std::vector in SfxIntegerListItem
Change-Id: Icdbb361feea2ebee74f9d0a906bdd3c2882443e8
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/ilstitem.hxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/svl/ilstitem.hxx b/include/svl/ilstitem.hxx index bbcbe44c4f6d..21156c886008 100644 --- a/include/svl/ilstitem.hxx +++ b/include/svl/ilstitem.hxx @@ -27,7 +27,7 @@ class SVL_DLLPUBLIC SfxIntegerListItem : public SfxPoolItem { - css::uno::Sequence < sal_Int32 > m_aList; + std::vector < sal_Int32 > m_aList; public: static SfxPoolItem* CreateDefault(); @@ -37,12 +37,8 @@ public: SfxIntegerListItem( const SfxIntegerListItem& rItem ); virtual ~SfxIntegerListItem(); - css::uno::Sequence < sal_Int32 > GetSequence() - { return m_aList; } - css::uno::Sequence < sal_Int32 > GetConstSequence() const - { return (const_cast< SfxIntegerListItem * >(this))->GetSequence(); } - - void GetList( ::std::vector < sal_Int32 >& rList ) const; + std::vector< sal_Int32 >& GetList() { return m_aList; } + const std::vector< sal_Int32 >& GetList() const { return m_aList; } virtual bool operator==( const SfxPoolItem& ) const override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; |