diff --git a/src/removeoverlap.cpp b/src/removeoverlap.cpp
index 975b4becb988e0ae7ec29412fa367e5630757bad..b01ae52281c488bb6729e36bc19ded590ac74438 100644 (file)
--- a/src/removeoverlap.cpp
+++ b/src/removeoverlap.cpp
/*
* Authors:
* Tim Dwyer <tgdwyer@gmail.com>
+ * Abhishek Sharma
*
* Copyright (C) 2005 Authors
*
++it)
{
using Geom::X; using Geom::Y;
- Geom::OptRect item_box(sp_item_bbox_desktop(*it));
+ Geom::OptRect item_box((*it)->getBboxDesktop());
if (item_box) {
Geom::Point min(item_box->min() - .5*gap);
Geom::Point max(item_box->max() + .5*gap);