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: [email protected]
Reporter: [email protected]
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs