https://bugs.documentfoundation.org/show_bug.cgi?id=90290

            Bug ID: 90290
           Summary: reduce some copy&paste code in ucalc
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

ucalc is one of the mail calc tests and is split between many files in
sc/qa/unit

This task is about improving the existing pattern around checkFormula in
sc/qa/unit/ucalc_formula.cxx

A typical piece of code looks like this:

    if (!checkFormula(*m_pDoc, aPos, "SUM(A3:A7)"))
        CPPUNIT_FAIL("Wrong formula!");

This should be changed to something like:

checkFormula(*m_pDoc, aPos, "SUM(A3:A7)", "Wrong formula!");

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to