From 698de0864f3a6df9d6ac2289029b56ae42a1d19c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 10 Feb 2014 12:37:17 +0200 Subject: [PATCH] remove unused parameter Change-Id: I24d4cb8b7b30c01e6dd5ba8f5e6690a60e6d9470 --- sc/inc/docpool.hxx | 2 +- sc/source/core/data/docpool.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sc/inc/docpool.hxx b/sc/inc/docpool.hxx index cacc9ee7ae2f..7b3f7e3fef2d 100644 --- a/sc/inc/docpool.hxx +++ b/sc/inc/docpool.hxx @@ -44,7 +44,7 @@ class SC_DLLPUBLIC ScDocumentPool: public SfxItemPool static sal_uInt16* pVersionMap12; public: - ScDocumentPool( SfxItemPool* pSecPool = NULL, sal_Bool bLoadRefCounts = false ); + ScDocumentPool( SfxItemPool* pSecPool = NULL ); protected: virtual ~ScDocumentPool(); public: diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx index 14aa2cc1fe1f..28e40ba85212 100644 --- a/sc/source/core/data/docpool.cxx +++ b/sc/source/core/data/docpool.cxx @@ -187,11 +187,11 @@ static SfxItemInfo const aItemInfos[] = // ----------------------------------------------------------------------- -ScDocumentPool::ScDocumentPool( SfxItemPool* pSecPool, sal_Bool bLoadRefCounts ) +ScDocumentPool::ScDocumentPool( SfxItemPool* pSecPool) : SfxItemPool ( OUString("ScDocumentPool"), ATTR_STARTINDEX, ATTR_ENDINDEX, - aItemInfos, NULL, bLoadRefCounts ), + aItemInfos, NULL, false/*bLoadRefCounts*/ ), pSecondary ( pSecPool ) { // latin font from GetDefaultFonts is not used, DEFAULTFONT_LATIN_SPREADSHEET instead