summaryrefslogtreecommitdiffstats
path: root/src/removeoverlap.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-12-12 08:40:34 +0000
committerJon A. Cruz <jon@joncruz.org>2010-12-12 08:40:34 +0000
commitaadfea4113abc6863d7ab03d21b973802c41c503 (patch)
tree3f890c0c112433fd850d59558208addf1baa85da /src/removeoverlap.cpp
parentPot and Dutch translation update (diff)
parentA simple layout document as to what, why and how is cppification. (diff)
downloadinkscape-aadfea4113abc6863d7ab03d21b973802c41c503.tar.gz
inkscape-aadfea4113abc6863d7ab03d21b973802c41c503.zip
Merge and cleanup of GSoC C++-ification project.
(bzr r9945.1.1)
Diffstat (limited to 'src/removeoverlap.cpp')
-rw-r--r--src/removeoverlap.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/removeoverlap.cpp b/src/removeoverlap.cpp
index 975b4becb..b01ae5228 100644
--- a/src/removeoverlap.cpp
+++ b/src/removeoverlap.cpp
@@ -4,6 +4,7 @@
/*
* Authors:
* Tim Dwyer <tgdwyer@gmail.com>
+ * Abhishek Sharma
*
* Copyright (C) 2005 Authors
*
@@ -48,7 +49,7 @@ void removeoverlap(GSList const *const items, double const xGap, double const yG
++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);