summaryrefslogtreecommitdiff
path: root/svx/source/items
diff options
context:
space:
mode:
authorVarun Dhall <varun.dhall@studentpartner.com>2017-08-14 22:08:36 +0530
committerMichael Stahl <mstahl@redhat.com>2017-08-16 11:08:39 +0200
commitb021353dd62c3d8c9ee0281753b88f6304a2514d (patch)
tree4ab481aa4f8f1fc34b78247d8c5f28532383a749 /svx/source/items
parentb607f62fde45a907f17545f4073e53d308b4cd1f (diff)
Removing unused serialisation code
Change-Id: Id31c8de69043d393f005f83d5c7eba878af5119c Reviewed-on: https://gerrit.libreoffice.org/41149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svx/source/items')
-rw-r--r--svx/source/items/pageitem.cxx49
1 files changed, 0 insertions, 49 deletions
diff --git a/svx/source/items/pageitem.cxx b/svx/source/items/pageitem.cxx
index 0e59f4e72555..18c4981473ce 100644
--- a/svx/source/items/pageitem.cxx
+++ b/svx/source/items/pageitem.cxx
@@ -229,38 +229,6 @@ bool SvxPageItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
return true;
}
-
-SfxPoolItem* SvxPageItem::Create( SvStream& rStream, sal_uInt16 ) const
-{
- sal_uInt8 eType;
- bool bLand;
- sal_uInt16 nUse;
-
- // UNICODE: rStream >> sStr;
- OUString sStr = rStream.ReadUniOrByteString( rStream.GetStreamCharSet() );
-
- rStream.ReadUChar( eType );
- rStream.ReadCharAsBool( bLand );
- rStream.ReadUInt16( nUse );
-
- SvxPageItem* pPage = new SvxPageItem( Which() );
- pPage->SetDescName( sStr );
- pPage->SetNumType( (SvxNumType)eType );
- pPage->SetLandscape( bLand );
- pPage->SetPageUsage( (SvxPageUsage)nUse );
- return pPage;
-}
-
-
-SvStream& SvxPageItem::Store( SvStream &rStrm, sal_uInt16 /*nItemVersion*/ ) const
-{
- // UNICODE: rStrm << aDescName;
- rStrm.WriteUniOrByteString(aDescName, rStrm.GetStreamCharSet());
-
- rStrm.WriteUChar( eNumType ).WriteBool( bLandscape ).WriteUInt16( (sal_uInt16)eUse );
- return rStrm;
-}
-
// HeaderFooterSet
SvxSetItem::SvxSetItem( const sal_uInt16 nId, const SfxItemSet& rSet ) :
@@ -298,22 +266,5 @@ bool SvxSetItem::GetPresentation
return false;
}
-SfxPoolItem* SvxSetItem::Create(SvStream &rStrm, sal_uInt16 /*nVersion*/) const
-{
- SfxItemSet* _pSet = new SfxItemSet( *GetItemSet().GetPool(),
- GetItemSet().GetRanges() );
-
- _pSet->Load( rStrm );
-
- return new SvxSetItem( Which(), *_pSet );
-}
-
-SvStream& SvxSetItem::Store(SvStream &rStrm, sal_uInt16 nItemVersion) const
-{
- GetItemSet().Store( rStrm, nItemVersion );
-
- return rStrm;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */