diff options
Diffstat (limited to 'svl/source/items/slstitm.cxx')
-rw-r--r-- | svl/source/items/slstitm.cxx | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/svl/source/items/slstitm.cxx b/svl/source/items/slstitm.cxx index 64d960226d86..e366badc8167 100644 --- a/svl/source/items/slstitm.cxx +++ b/svl/source/items/slstitm.cxx @@ -47,24 +47,6 @@ SfxStringListItem::SfxStringListItem( sal_uInt16 which, const std::vector<OUStri } -SfxStringListItem::SfxStringListItem( sal_uInt16 which, SvStream& rStream ) : - SfxPoolItem( which ) -{ - sal_Int32 nEntryCount; - rStream.ReadInt32( nEntryCount ); - - if( nEntryCount ) - mpList.reset(new std::vector<OUString>); - - if (mpList) - { - for( sal_Int32 i=0; i < nEntryCount; i++ ) - { - mpList->push_back( readByteString(rStream) ); - } - } -} - SfxStringListItem::~SfxStringListItem() { } @@ -113,30 +95,6 @@ SfxPoolItem* SfxStringListItem::Clone( SfxItemPool *) const } -SfxPoolItem* SfxStringListItem::Create( SvStream & rStream, sal_uInt16 ) const -{ - return new SfxStringListItem( Which(), rStream ); -} - - -SvStream& SfxStringListItem::Store( SvStream & rStream, sal_uInt16 ) const -{ - if( !mpList ) - { - rStream.WriteInt32( 0 ); - return rStream; - } - - sal_uInt32 nCount = mpList->size(); - rStream.WriteUInt32( nCount ); - - for( sal_uInt32 i=0; i < nCount; i++ ) - writeByteString(rStream, (*mpList)[i]); - - return rStream; -} - - void SfxStringListItem::SetString( const OUString& rStr ) { mpList.reset( new std::vector<OUString> ); |