diff options
author | Varun Dhall <varun.dhall@studentpartner.com> | 2017-08-14 22:08:36 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-08-16 11:08:39 +0200 |
commit | b021353dd62c3d8c9ee0281753b88f6304a2514d (patch) | |
tree | 4ab481aa4f8f1fc34b78247d8c5f28532383a749 /include/svl | |
parent | b607f62fde45a907f17545f4073e53d308b4cd1f (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 'include/svl')
-rw-r--r-- | include/svl/itempool.hxx | 19 | ||||
-rw-r--r-- | include/svl/itemset.hxx | 5 | ||||
-rw-r--r-- | include/svl/poolitem.hxx | 2 |
3 files changed, 0 insertions, 26 deletions
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx index 822884868a83..14051f6796d3 100644 --- a/include/svl/itempool.hxx +++ b/include/svl/itempool.hxx @@ -151,25 +151,10 @@ public: void Remove( const SfxPoolItem& ); const SfxPoolItem& GetDefaultItem( sal_uInt16 nWhich ) const; - const SfxPoolItem* LoadItem( SvStream &rStream, - const SfxItemPool *pRefPool ); - bool StoreItem( SvStream &rStream, - const SfxPoolItem &rItem, - bool bDirect ) const; - sal_uInt32 GetSurrogate(const SfxPoolItem *) const; const SfxPoolItem * GetItem2(sal_uInt16 nWhich, sal_uInt32 nSurrogate) const; const SfxPoolItem * GetItem2Default(sal_uInt16 nWhich) const; sal_uInt32 GetItemCount2(sal_uInt16 nWhich) const; - const SfxPoolItem* LoadSurrogate(SvStream& rStream, - sal_uInt16 &rWhich, sal_uInt16 nSlotId, - const SfxItemPool* pRefPool = nullptr ); - bool StoreSurrogate(SvStream& rStream, - const SfxPoolItem *pItem ) const; - - SvStream & Load(SvStream &); - SvStream & Store(SvStream &) const; - void LoadCompleted(); sal_uInt16 GetFirstWhich() const; sal_uInt16 GetLastWhich() const; @@ -191,12 +176,8 @@ public: sal_uInt16 GetTrueWhich( sal_uInt16 nSlot, bool bDeep = true ) const; sal_uInt16 GetTrueSlotId( sal_uInt16 nWhich ) const; - void SetVersionMap( sal_uInt16 nVer, - sal_uInt16 nOldStart, sal_uInt16 nOldEnd, - const sal_uInt16 *pWhichIdTab ); sal_uInt16 GetNewWhich( sal_uInt16 nOldWhich ) const; void SetFileFormatVersion( sal_uInt16 nFileFormatVersion ); - bool IsCurrentVersionLoading() const; static bool IsWhich(sal_uInt16 nId) { return nId && nId <= SFX_WHICH_MAX; } diff --git a/include/svl/itemset.hxx b/include/svl/itemset.hxx index 95953dd08f7f..89c6149f44a2 100644 --- a/include/svl/itemset.hxx +++ b/include/svl/itemset.hxx @@ -202,9 +202,6 @@ public: void MergeRange( sal_uInt16 nFrom, sal_uInt16 nTo ); const SfxItemSet* GetParent() const { return m_pParent; } - void Load( SvStream & ); - void Store( SvStream &, bool bDirect = false ) const; - bool operator==(const SfxItemSet &) const; /** Compare possibly ignoring SfxItemPool pointer. @@ -220,8 +217,6 @@ public: */ bool Equals(const SfxItemSet &, bool bComparePool) const; - sal_Int32 getHash() const; - OString stringify() const; void dumpAsXml(struct _xmlTextWriter* pWriter) const; }; diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx index 5e071055f46b..2977ae7298f2 100644 --- a/include/svl/poolitem.hxx +++ b/include/svl/poolitem.hxx @@ -287,8 +287,6 @@ public: // create a copy of itself virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override = 0; - virtual SfxPoolItem* Create(SvStream &, sal_uInt16 nVersion) const override = 0; - virtual SvStream& Store(SvStream &, sal_uInt16 nVer) const override; const SfxItemSet& GetItemSet() const { return *pSet; } |