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

            Bug ID: 99176
           Summary: core/include/basegfx/range/b2dconnectedranges.hxx:200]
                    : (style) Redundant condition
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: framework
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: dcb...@hotmail.com

core/include/basegfx/range/b2dconnectedranges.hxx:200]: (style) Redundant
condition: aNewConnectedComponent.maTotalBounds.isEmpty(). '!A || (A && B)' is
equivalent to '!A || B'

Source code is

            OSL_ENSURE( !aNewConnectedComponent.maTotalBounds.isEmpty() ||
                        (aNewConnectedComponent.maTotalBounds.isEmpty() &&
                         aNewConnectedComponent.maComponentList.size() == 1),
                        "B2DConnectedRanges::addRange(): empty ranges must be
solitary");

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

Reply via email to