From 42ccded15d50ea4dfdcd6a9b5e360318faea9261 Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Tue, 9 Dec 2008 19:31:12 +0000 Subject: remove orphaned NRMatrix wrapper for sp_item_write_transform (bzr r6979) --- src/sp-item.cpp | 13 ------------- src/sp-item.h | 1 - 2 files changed, 14 deletions(-) diff --git a/src/sp-item.cpp b/src/sp-item.cpp index 01f266594..78561de1b 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -1376,19 +1376,6 @@ sp_item_adjust_livepatheffect (SPItem *item, Geom::Matrix const &postmul, bool s } } -/** - * A temporary wrapper for the next function accepting the Geom::Matrix - * instead of Geom::Matrix - */ -void -sp_item_write_transform(SPItem *item, Inkscape::XML::Node *repr, Geom::Matrix const *transform, Geom::Matrix const *adv) -{ - if (transform == NULL) - sp_item_write_transform(item, repr, Geom::identity(), adv); - else - sp_item_write_transform(item, repr, *transform, adv); -} - /** * Set a new transform on an object. * diff --git a/src/sp-item.h b/src/sp-item.h index 1cc05eb25..a2a9c1ba3 100644 --- a/src/sp-item.h +++ b/src/sp-item.h @@ -238,7 +238,6 @@ void sp_item_adjust_stroke_width_recursive(SPItem *item, gdouble ex); void sp_item_adjust_paint_recursive(SPItem *item, Geom::Matrix advertized_transform, Geom::Matrix t_ancestors, bool is_pattern); void sp_item_adjust_livepatheffect(SPItem *item, Geom::Matrix const &postmul, bool set = false); -void sp_item_write_transform(SPItem *item, Inkscape::XML::Node *repr, Geom::Matrix const *transform, Geom::Matrix const *adv = NULL); void sp_item_write_transform(SPItem *item, Inkscape::XML::Node *repr, Geom::Matrix const &transform, Geom::Matrix const *adv = NULL, bool compensate = true); void sp_item_set_item_transform(SPItem *item, Geom::Matrix const &transform); -- cgit v1.2.3