tdf#160084 Simplify comparison for basegfx::fTools

Change-Id: I6ae56ad61ceec5bc34898befd636a0ceae8266e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176700
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
Bogdan Buzea 2024-11-18 06:38:06 +01:00 committed by Xisco Fauli
parent d02286e772
commit 74d46954cd

View file

@ -328,7 +328,7 @@ sal_uInt32 OverlayStaticRectanglePrimitive::getPrimitive2DID() const
aPolyPolygon.append(aInnerPolygon);
// create fill primitive
if (basegfx::fTools::lessOrEqual(getTransparence(), 0.0))
if (getTransparence() <= 0.0)
{
// no transparence
aRetval = new PolyPolygonColorPrimitive2D(