summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorVarun Dhall <varun.dhall@studentpartner.com>2017-08-07 02:50:35 +0530
committerMichael Stahl <mstahl@redhat.com>2017-08-07 17:20:02 +0200
commitd10a61fe36760336842cbfa7f8f77e1fb9a475a5 (patch)
tree54e0850035b425de7e0aea5aec84e5337da5b01a /sfx2
parent544a978132dd8f9d44756f62f160a0883193d54a (diff)
Removing unused SfxItemPool serialisation from sfx2
Change-Id: Ibb14fcd656f401cb9d2ad57ab63f6cfecf49807d Reviewed-on: https://gerrit.libreoffice.org/40814 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/config/evntconf.cxx12
-rw-r--r--sfx2/source/doc/zoomitem.cxx21
2 files changed, 0 insertions, 33 deletions
diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx
index 77a0a823b882..35d42f08ef2a 100644
--- a/sfx2/source/config/evntconf.cxx
+++ b/sfx2/source/config/evntconf.cxx
@@ -108,18 +108,6 @@ SfxPoolItem* SfxEventNamesItem::Clone( SfxItemPool *) const
return new SfxEventNamesItem(*this);
}
-SfxPoolItem* SfxEventNamesItem::Create(SvStream &, sal_uInt16) const
-{
- OSL_FAIL("not streamable!");
- return new SfxEventNamesItem(Which());
-}
-
-SvStream& SfxEventNamesItem::Store(SvStream &rStream, sal_uInt16 ) const
-{
- OSL_FAIL("not streamable!");
- return rStream;
-}
-
sal_uInt16 SfxEventNamesItem::GetVersion( sal_uInt16 ) const
{
OSL_FAIL("not streamable!");
diff --git a/sfx2/source/doc/zoomitem.cxx b/sfx2/source/doc/zoomitem.cxx
index 117d1a7c4635..e528175a3187 100644
--- a/sfx2/source/doc/zoomitem.cxx
+++ b/sfx2/source/doc/zoomitem.cxx
@@ -66,27 +66,6 @@ SfxPoolItem* SvxZoomItem::Clone( SfxItemPool * /*pPool*/ ) const
}
-SfxPoolItem* SvxZoomItem::Create( SvStream& rStrm, sal_uInt16 /*nVersion*/ ) const
-{
- sal_uInt16 nValue;
- sal_uInt16 nValSet;
- sal_Int8 nType;
- rStrm.ReadUInt16( nValue ).ReadUInt16( nValSet ).ReadSChar( nType );
- SvxZoomItem* pNew = new SvxZoomItem( (SvxZoomType)nType, nValue, Which() );
- pNew->SetValueSet( static_cast<SvxZoomEnableFlags>(nValSet) );
- return pNew;
-}
-
-
-SvStream& SvxZoomItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) const
-{
- rStrm.WriteUInt16( GetValue() )
- .WriteUInt16( static_cast<sal_uInt16>(nValueSet) )
- .WriteSChar( static_cast<int>(eType) );
- return rStrm;
-}
-
-
bool SvxZoomItem::operator==( const SfxPoolItem& rAttr ) const
{
assert(SfxPoolItem::operator==(rAttr));