[Libreoffice-commits] core.git: include/svl svl/source

Laurent Balland-Poirier laurent.balland-poirier at laposte.net
Tue Feb 21 21:06:09 UTC 2017


 include/svl/zforlist.hxx        |    3 ---
 svl/source/numbers/zforlist.cxx |    9 ---------
 2 files changed, 12 deletions(-)

New commits:
commit 52b464f31a162c2e90cb5482ffa2a7ff8dd386d5
Author: Laurent Balland-Poirier <laurent.balland-poirier at laposte.net>
Date:   Tue Feb 21 08:31:07 2017 +0100

    Remove unused function. Following tdf#105657
    
    Change-Id: I7890d76b35bcf5eb9a965fb90ae1a106913548e8
    Reviewed-on: https://gerrit.libreoffice.org/34506
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx
index 81c57d7..dfdd8eb 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 b4621bc..c9dab53 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 );


More information about the Libreoffice-commits mailing list