summaryrefslogtreecommitdiffstats
path: root/src/removeoverlap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/removeoverlap.cpp')
-rw-r--r--src/removeoverlap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/removeoverlap.cpp b/src/removeoverlap.cpp
index 7cb1694e3..01ce2c47e 100644
--- a/src/removeoverlap.cpp
+++ b/src/removeoverlap.cpp
@@ -49,7 +49,7 @@ void removeoverlap(std::vector<SPItem*> const &items, double const xGap, double
it != selected.end();
++it)
{
- SPItem* item=static_cast<SPItem*>(*it);
+ SPItem* item = *it;
using Geom::X; using Geom::Y;
Geom::OptRect item_box((item)->desktopVisualBounds());
if (item_box) {