summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Holder <speleo3@users.sourceforge.net>2008-12-09 19:31:12 +0000
committerspeleo3 <speleo3@users.sourceforge.net>2008-12-09 19:31:12 +0000
commit42ccded15d50ea4dfdcd6a9b5e360318faea9261 (patch)
tree0a6aab637a80233f561c79f25fa1efb4ee021d1a
parentreworked ClipboardManagerImpl::_pasteDocument, code cleanup and finally fixin... (diff)
downloadinkscape-42ccded15d50ea4dfdcd6a9b5e360318faea9261.tar.gz
inkscape-42ccded15d50ea4dfdcd6a9b5e360318faea9261.zip
remove orphaned NRMatrix wrapper for sp_item_write_transform
(bzr r6979)
-rw-r--r--src/sp-item.cpp13
-rw-r--r--src/sp-item.h1
2 files changed, 0 insertions, 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
@@ -1377,19 +1377,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.
*
* Compensate for stroke scaling and gradient/pattern fill transform, if
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);