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 /svx/source | |
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 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdattr.cxx | 5 | ||||
-rw-r--r-- | svx/source/svdraw/svdmodel.cxx | 4 | ||||
-rw-r--r-- | svx/source/xoutdev/xpool.cxx | 4 |
3 files changed, 6 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx index 8326e0bbc483..b37b9297dd52 100644 --- a/svx/source/svdraw/svdattr.cxx +++ b/svx/source/svdraw/svdattr.cxx @@ -107,9 +107,8 @@ using namespace ::com::sun::star; SdrItemPool::SdrItemPool( - SfxItemPool* _pMaster, - bool bLoadRefCounts) -: XOutdevItemPool(_pMaster, bLoadRefCounts) + SfxItemPool* _pMaster) +: XOutdevItemPool(_pMaster) { // prepare some constants const Color aNullCol(RGB_Color(COL_BLACK)); diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index 0029b9f4db10..72414a356e09 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -172,9 +172,9 @@ void SdrModel::ImpCtor(SfxItemPool* pPool, ::comphelper::IEmbeddedHelper* _pEmbe if ( pPool == nullptr ) { - pItemPool=new SdrItemPool(nullptr, false/*bLoadRefCounts*/); + pItemPool=new SdrItemPool(nullptr); // Outliner doesn't have its own Pool, so use the EditEngine's - SfxItemPool* pOutlPool=EditEngine::CreatePool( false/*bLoadRefCounts*/ ); + SfxItemPool* pOutlPool=EditEngine::CreatePool(); // OutlinerPool as SecondaryPool of SdrPool pItemPool->SetSecondaryPool(pOutlPool); // remember that I created both pools myself diff --git a/svx/source/xoutdev/xpool.cxx b/svx/source/xoutdev/xpool.cxx index 367e07aaf18d..27e39b87b221 100644 --- a/svx/source/xoutdev/xpool.cxx +++ b/svx/source/xoutdev/xpool.cxx @@ -27,8 +27,8 @@ #include <svx/svxids.hrc> #include <svl/itemset.hxx> -XOutdevItemPool::XOutdevItemPool(SfxItemPool* _pMaster, bool bLoadRefCounts) - : SfxItemPool("XOutdevItemPool", SDRATTR_START, SDRATTR_END, nullptr, nullptr, bLoadRefCounts) +XOutdevItemPool::XOutdevItemPool(SfxItemPool* _pMaster) + : SfxItemPool("XOutdevItemPool", SDRATTR_START, SDRATTR_END, nullptr, nullptr) , mpLocalPoolDefaults(new std::vector<SfxPoolItem*>(SDRATTR_END - SDRATTR_START + 1)) , mpLocalItemInfos(new SfxItemInfo[SDRATTR_END - SDRATTR_START + 1]) { |