From 2486a5387022930820937aef30f989d9309f524b Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 12 Dec 2019 23:24:14 +0000 Subject: [PATCH] remove unused EXTENTS macro from qregion source file Signed-off-by: Ivailo Monev --- src/gui/painting/qregion.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/gui/painting/qregion.cpp b/src/gui/painting/qregion.cpp index 28f575c95..1296879a3 100644 --- a/src/gui/painting/qregion.cpp +++ b/src/gui/painting/qregion.cpp @@ -1684,19 +1684,6 @@ QT_END_INCLUDE_NAMESPACE (r1)->bottom() >= (r2)->top() && \ (r1)->top() <= (r2)->bottom()) -/* - * update region extents - */ -#define EXTENTS(r,idRect){\ - if((r)->left() < (idRect)->extents.left())\ - (idRect)->extents.setLeft((r)->left());\ - if((r)->top() < (idRect)->extents.top())\ - (idRect)->extents.setTop((r)->top());\ - if((r)->right() > (idRect)->extents.right())\ - (idRect)->extents.setRight((r)->right());\ - if((r)->bottom() > (idRect)->extents.bottom())\ - (idRect)->extents.setBottom((r)->bottom());\ - } /* * Check to see if there is enough memory in the present region. -- 2.11.0