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

            Bug ID: 99660
           Summary: core/workdir/CustomTarget/writerfilter/source/ooxml/OO
                    XMLFactory_shared-math.cxx: 2 * cut'n'paste error ?
           Product: LibreOffice
           Version: 5.2.0.0.alpha1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: [email protected]
          Reporter: [email protected]

1.

core/workdir/CustomTarget/writerfilter/source/ooxml/OOXMLFactory_shared-math.cxx:461]:
(style) Expression is always false because 'else if' condition matches previous
condition at line 460.

Source code is

            if (rValue == "left") { rOutValue =
NS_ooxml::LN_Value_math_ST_Jc_start; }
            else if (rValue == "left") { rOutValue =
NS_ooxml::LN_Value_math_ST_Jc_left; }

2.

Similar thing a few lines further down

            if (rValue == "right") { rOutValue =
NS_ooxml::LN_Value_math_ST_Jc_end; }
            else if (rValue == "right") { rOutValue =
NS_ooxml::LN_Value_math_ST_Jc_right; }

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

Reply via email to