diff options
Diffstat (limited to 'svl/source/numbers/zforlist.cxx')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 294777360c2e..9dc90b41a4f5 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -1971,18 +1971,6 @@ sal_uInt16 SvNumberFormatter::GetFormatPrecision( sal_uInt32 nFormat ) const return pFormatScanner->GetStandardPrec(); } -sal_uInt16 SvNumberFormatter::GetFormatPrecision( sal_uInt32 nFormat, double fValue ) const -{ - const SvNumberformat* pFormat = GetFormatEntry( nFormat ); - if ( pFormat ) - { - sal_uInt16 nIx = pFormat->GetSubformatIndex( fValue ); - return pFormat->GetFormatPrecision( nIx ); - } - else - return pFormatScanner->GetStandardPrec(); -} - sal_uInt16 SvNumberFormatter::GetFormatIntegerDigits( sal_uInt32 nFormat ) const { const SvNumberformat* pFormat = GetFormatEntry( nFormat ); |