diff options
author | Varun Dhall <varun.dhall@studentpartner.com> | 2017-08-17 01:57:59 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-08-17 10:54:59 +0200 |
commit | 006a7b50546c57e260245d4630de565705f2fc38 (patch) | |
tree | c913778b89039c85f0ebeea86bf7a5da11175b9b /svl/source/inc | |
parent | a82af43b526c9eca38f74f51d9af0c99c62f8121 (diff) |
Removing unused serialisation code
Change-Id: I86911c77f0831d448ff803afae2a74ec55ad4dd8
Reviewed-on: https://gerrit.libreoffice.org/41233
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svl/source/inc')
-rw-r--r-- | svl/source/inc/poolio.hxx | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx index 22189d6923fc..8695dfe8b69e 100644 --- a/svl/source/inc/poolio.hxx +++ b/svl/source/inc/poolio.hxx @@ -38,29 +38,6 @@ static const sal_uInt32 SFX_ITEMS_DIRECT = 0xffffffff; static const sal_uInt32 SFX_ITEMS_NULL = 0xfffffff0; // instead StoreSurrogate static const sal_uInt32 SFX_ITEMS_DEFAULT = 0xfffffffe; -struct SfxPoolVersion_Impl -{ - sal_uInt16 _nVer; - sal_uInt16 _nStart, _nEnd; - const sal_uInt16* _pMap; - - SfxPoolVersion_Impl( sal_uInt16 nVer, sal_uInt16 nStart, sal_uInt16 nEnd, - const sal_uInt16 *pMap ) - : _nVer( nVer ), - _nStart( nStart ), - _nEnd( nEnd ), - _pMap( pMap ) - {} - SfxPoolVersion_Impl( const SfxPoolVersion_Impl &rOrig ) - : _nVer( rOrig._nVer ), - _nStart( rOrig._nStart ), - _nEnd( rOrig._nEnd ), - _pMap( rOrig._pMap ) - {} -}; - -typedef std::shared_ptr< SfxPoolVersion_Impl > SfxPoolVersion_ImplPtr; - /** * This array contains a set of SfxPoolItems, if those items are * poolable then each item has a unique set of properties, and we @@ -106,13 +83,9 @@ struct SfxItemPool_Impl sal_uInt16* mpPoolRanges; sal_uInt16 mnStart; sal_uInt16 mnEnd; - sal_uInt16 mnFileFormatVersion; - sal_uInt16 nVersion; sal_uInt16 nInitRefCount; // 1, during load, may be 2 - sal_uInt16 nVerStart, nVerEnd; // WhichRange in versions MapUnit eDefMetric; bool bInSetItem; - bool mbPersistentRefCounts; SfxItemPool_Impl( SfxItemPool* pMaster, const OUString& rName, sal_uInt16 nStart, sal_uInt16 nEnd ) : maPoolItems(nEnd - nStart + 1) @@ -124,14 +97,9 @@ struct SfxItemPool_Impl , mpPoolRanges(nullptr) , mnStart(nStart) , mnEnd(nEnd) - , mnFileFormatVersion(0) - , nVersion(0) , nInitRefCount(0) - , nVerStart(0) - , nVerEnd(0) , eDefMetric(MapUnit::MapCM) , bInSetItem(false) - , mbPersistentRefCounts(false) { DBG_ASSERT(mnStart, "Start-Which-Id must be greater 0" ); } |