summaryrefslogtreecommitdiff
path: root/svl/source/items/itempool.cxx
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 /svl/source/items/itempool.cxx
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 'svl/source/items/itempool.cxx')
-rw-r--r--svl/source/items/itempool.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index f39b2dc17853..98983b6922d2 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -178,11 +178,7 @@ SfxItemPool::SfxItemPool
{
pImpl->eDefMetric = MapUnit::MapTwip;
pImpl->nVersion = 0;
- pImpl->bStreaming = false;
- pImpl->nLoadingVersion = 0;
pImpl->nInitRefCount = 1;
- pImpl->nVerStart = pImpl->mnStart;
- pImpl->nVerEnd = pImpl->mnEnd;
pImpl->bInSetItem = false;
pImpl->mbPersistentRefCounts = bLoadRefCounts;
@@ -210,11 +206,7 @@ SfxItemPool::SfxItemPool
{
pImpl->eDefMetric = rPool.pImpl->eDefMetric;
pImpl->nVersion = rPool.pImpl->nVersion;
- pImpl->bStreaming = false;
- pImpl->nLoadingVersion = 0;
pImpl->nInitRefCount = 1;
- pImpl->nVerStart = rPool.pImpl->nVerStart;
- pImpl->nVerEnd = rPool.pImpl->nVerEnd;
pImpl->bInSetItem = false;
pImpl->mbPersistentRefCounts = rPool.pImpl->mbPersistentRefCounts;
@@ -241,13 +233,6 @@ SfxItemPool::SfxItemPool
pImpl->maPoolDefaults[n]->SetKind(SfxItemKind::PoolDefault);
}
- // Copy Version map
- for (std::shared_ptr<SfxPoolVersion_Impl>& pOld : rPool.pImpl->aVersions)
- {
- SfxPoolVersion_ImplPtr pNew = std::make_shared<SfxPoolVersion_Impl>( *pOld );
- pImpl->aVersions.push_back( pNew );
- }
-
// Repair linkage
if ( rPool.pImpl->mpSecondary )
SetSecondaryPool( rPool.pImpl->mpSecondary->Clone() );