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:
parent
d02286e772
commit
74d46954cd
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue