From af9d999091ee8ea2757b65f32cf41f5d72a1e3e7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 26 Feb 2014 11:11:13 +0200 Subject: [PATCH] remove unused code ScGlobal::GetStandardFormat full signature: ScGlobal::GetStandardFormat(double, SvNumberFormatter&, unsigned long, short) Change-Id: Ifa2946cdb1d27f3a7bca1541c8f569456cb45b88 --- sc/inc/global.hxx | 2 -- sc/source/core/data/global.cxx | 11 ----------- unusedcode.easy | 1 - 3 files changed, 14 deletions(-) diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx index 8cf6ba8a08c3..51afdb143e79 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -560,8 +560,6 @@ public: const OUString& rTabName ); SC_DLLPUBLIC static sal_uLong GetStandardFormat( SvNumberFormatter&, sal_uLong nFormat, short nType ); - SC_DLLPUBLIC static sal_uLong GetStandardFormat( double, SvNumberFormatter&, - sal_uLong nFormat, short nType ); SC_DLLPUBLIC static sal_uInt16 GetStandardRowHeight(); SC_DLLPUBLIC static double nScreenPPTX; diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx index 0cc761ce34db..4a154f4aaac0 100644 --- a/sc/source/core/data/global.cxx +++ b/sc/source/core/data/global.cxx @@ -198,17 +198,6 @@ sal_uInt16 ScGlobal::GetStandardRowHeight() return nStdRowHeight; } -sal_uLong ScGlobal::GetStandardFormat( double fNumber, SvNumberFormatter& rFormatter, - sal_uLong nFormat, short nType ) -{ - const SvNumberformat* pFormat = rFormatter.GetEntry( nFormat ); - if ( pFormat ) - return rFormatter.GetStandardFormat( fNumber, nFormat, nType, - pFormat->GetLanguage() ); - return rFormatter.GetStandardFormat( nType, eLnge ); -} - - SvNumberFormatter* ScGlobal::GetEnglishFormatter() { if ( !pEnglishFormatter ) diff --git a/unusedcode.easy b/unusedcode.easy index fe0b8d95990d..b25dea446fc5 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -78,7 +78,6 @@ ScDocument::CreateFormatTable() const ScDocument::GetCellCount(short, short) const ScExtIButton::GetSelected() const ScFlatBoolRowSegments::getValue(int) -ScGlobal::GetStandardFormat(double, SvNumberFormatter&, unsigned long, short) ScVbaFormat::getAddIndent() ScVbaFormat::setAddIndent(com::sun::star::uno::Any const&) SdrItemBrowser::ForceParent()