summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2017-02-21 08:31:07 +0100
committerEike Rathke <erack@redhat.com>2017-02-21 21:05:44 +0000
commit52b464f31a162c2e90cb5482ffa2a7ff8dd386d5 (patch)
treeda0912ee1d040fcb1aaffc11f8ef29ea78551fb8
parenta6cc03546975c9343e2c554f3f049c8f7c35bb54 (diff)
Remove unused function. Following tdf#105657
Change-Id: I7890d76b35bcf5eb9a965fb90ae1a106913548e8 Reviewed-on: https://gerrit.libreoffice.org/34506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
-rw-r--r--include/svl/zforlist.hxx3
-rw-r--r--svl/source/numbers/zforlist.cxx9
2 files changed, 0 insertions, 12 deletions
diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx
index 81c57d732cb4..dfdd8ebe2623 100644
--- a/include/svl/zforlist.hxx
+++ b/include/svl/zforlist.hxx
@@ -533,9 +533,6 @@ public:
sal_uInt16& nPrecision, sal_uInt16& nAnzLeading,
LanguageType eLnge = LANGUAGE_DONTKNOW );
- /// Get round value with fraction representation
- double GetRoundFractionValue( sal_uInt32 nFormat, double fValue ) const;
-
/// Check if format code string may be deleted by user
bool IsUserDefined( const OUString& sStr, LanguageType eLnge = LANGUAGE_DONTKNOW );
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index b4621bca5b9f..c9dab539f463 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -1962,15 +1962,6 @@ void SvNumberFormatter::GetFormatSpecialInfo(sal_uInt32 nFormat,
}
}
-double SvNumberFormatter::GetRoundFractionValue( sal_uInt32 nFormat, double fValue ) const
-{
- const SvNumberformat* pFormat = GetFormatEntry( nFormat );
- if ( pFormat )
- return pFormat->GetRoundFractionValue( fValue );
- else
- return fValue;
-}
-
sal_uInt16 SvNumberFormatter::GetFormatPrecision( sal_uInt32 nFormat ) const
{
const SvNumberformat* pFormat = GetFormatEntry( nFormat );