diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2011-07-16 07:42:39 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2011-07-16 07:42:39 +0000 |
| commit | 2be2cf32db0668dc64512a98f6c2394152bd10cc (patch) | |
| tree | 8e25abb2f884e06692d861e6a1471440d6554946 /src/box3d.cpp | |
| parent | added WITH_GNOME_VFS as an option for cmake (diff) | |
| download | inkscape-2be2cf32db0668dc64512a98f6c2394152bd10cc.tar.gz inkscape-2be2cf32db0668dc64512a98f6c2394152bd10cc.zip | |
Cleanup of oudated/redundant SP_ITEM() macro use.
(bzr r10461)
Diffstat (limited to 'src/box3d.cpp')
| -rw-r--r-- | src/box3d.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/box3d.cpp b/src/box3d.cpp index 1a9c26b26..efd4054e1 100644 --- a/src/box3d.cpp +++ b/src/box3d.cpp @@ -388,7 +388,7 @@ box3d_get_corner_screen (SPBox3D const *box, guint id, bool item_coords) { if (!box3d_get_perspective(box)) { return Geom::Point (Geom::infinity(), Geom::infinity()); } - Geom::Affine const i2d (SP_ITEM(box)->i2d_affine ()); + Geom::Affine const i2d(box->i2d_affine ()); if (item_coords) { return box3d_get_perspective(box)->perspective_impl->tmat.image(proj_corner).affine() * i2d.inverse(); } else { @@ -412,7 +412,7 @@ box3d_get_center_screen (SPBox3D *box) { if (!box3d_get_perspective(box)) { return Geom::Point (Geom::infinity(), Geom::infinity()); } - Geom::Affine const i2d (SP_ITEM(box)->i2d_affine ()); + Geom::Affine const i2d(box->i2d_affine ()); return box3d_get_perspective(box)->perspective_impl->tmat.image(proj_center).affine() * i2d.inverse(); } @@ -1180,7 +1180,7 @@ box3d_set_z_orders (SPBox3D *box) { for (unsigned int i = 0; i < 6; ++i) { side = sides.find(box->z_orders[i]); if (side != sides.end()) { - SP_ITEM((*side).second)->lowerToBottom(); + ((*side).second)->lowerToBottom(); } } } |
