[Libreoffice-bugs] [Bug 48836] New: delete unused function NumericFormatter::ConvertToFraction(long)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 17 20:17:27 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48836

             Bug #: 48836
           Summary: delete unused function
                    NumericFormatter::ConvertToFraction(long)
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5 Daily
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: minor
          Priority: low
         Component: Presentation
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: jmrecarey at gmail.com


Delete unused code:

Fraction NumericFormatter::ConvertToFraction( sal_Int64 nValue )
{
    // caution: precision loss in double cast (and in fraction anyhow)
    return Fraction( (double)nValue/(double)ImplPower10( GetDecimalDigits() )
);
}

 from file ./vcl/source/control/field.cxx

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list