summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorVarun Dhall <varun.dhall@studentpartner.com>2017-08-17 01:57:59 +0530
committerMichael Stahl <mstahl@redhat.com>2017-08-17 10:54:59 +0200
commit006a7b50546c57e260245d4630de565705f2fc38 (patch)
treec913778b89039c85f0ebeea86bf7a5da11175b9b /sc/source
parenta82af43b526c9eca38f74f51d9af0c99c62f8121 (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 'sc/source')
-rw-r--r--sc/source/core/data/docpool.cxx2
-rw-r--r--sc/source/core/data/poolhelp.cxx1
2 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx
index 85b57a7d8088..f42ab0b39ba7 100644
--- a/sc/source/core/data/docpool.cxx
+++ b/sc/source/core/data/docpool.cxx
@@ -179,7 +179,7 @@ ScDocumentPool::ScDocumentPool()
: SfxItemPool ( "ScDocumentPool",
ATTR_STARTINDEX, ATTR_ENDINDEX,
- aItemInfos, nullptr, false/*bLoadRefCounts*/ ),
+ aItemInfos, nullptr ),
mnCurrentMaxKey(0)
{
// latin font from GetDefaultFonts is not used, DEFAULTFONT_LATIN_SPREADSHEET instead
diff --git a/sc/source/core/data/poolhelp.cxx b/sc/source/core/data/poolhelp.cxx
index 0ad8c56acf19..2ee99f228e28 100644
--- a/sc/source/core/data/poolhelp.cxx
+++ b/sc/source/core/data/poolhelp.cxx
@@ -53,7 +53,6 @@ SfxItemPool* ScPoolHelper::GetEditPool() const
pEditPool = EditEngine::CreatePool();
pEditPool->SetDefaultMetric( MapUnit::Map100thMM );
pEditPool->FreezeIdRanges();
- pEditPool->SetFileFormatVersion( SOFFICE_FILEFORMAT_50 ); // used in ScGlobal::EETextObjEqual
}
return pEditPool;
}