diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-26 11:11:13 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-27 10:27:30 +0200 |
commit | af9d999091ee8ea2757b65f32cf41f5d72a1e3e7 (patch) | |
tree | 5b463d64f9ba8db2d769d829c236f2c511c3e465 /sc | |
parent | 1466096e2248ef6aaa8c0d37e440c6397b59af24 (diff) |
remove unused code ScGlobal::GetStandardFormat
full signature:
ScGlobal::GetStandardFormat(double, SvNumberFormatter&,
unsigned long, short)
Change-Id: Ifa2946cdb1d27f3a7bca1541c8f569456cb45b88
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/global.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/global.cxx | 11 |
2 files changed, 0 insertions, 13 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 ) |