summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2015-04-27 23:20:57 +0000
committerMarc Jeanmougin <mc@M0nst3r.bouyguesbox.fr>2015-04-27 23:20:57 +0000
commit643c75ddbbbea2f018050faa1e7e38c71482418a (patch)
tree64208db14b375bfe7d6bed6ab586f0e7686939d7 /src/ui/dialog
parentremoved a few "using Inkscape::Util::GSListConstIterator" (diff)
downloadinkscape-643c75ddbbbea2f018050faa1e7e38c71482418a.tar.gz
inkscape-643c75ddbbbea2f018050faa1e7e38c71482418a.zip
removed a few useless SP_OBJECT() casts
(bzr r13922.1.17)
Diffstat (limited to 'src/ui/dialog')
-rw-r--r--src/ui/dialog/object-attributes.cpp2
-rw-r--r--src/ui/dialog/transformation.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/object-attributes.cpp b/src/ui/dialog/object-attributes.cpp
index f43a15225..1bc570f43 100644
--- a/src/ui/dialog/object-attributes.cpp
+++ b/src/ui/dialog/object-attributes.cpp
@@ -127,7 +127,7 @@ void ObjectAttributes::widget_setup (void)
blocked = true;
// CPPIFY
- SPObject *obj = SP_OBJECT(item); //to get the selected item
+ SPObject *obj = item; //to get the selected item
// GObjectClass *klass = G_OBJECT_GET_CLASS(obj); //to deduce the object's type
// GType type = G_TYPE_FROM_CLASS(klass);
const SPAttrDesc *desc;
diff --git a/src/ui/dialog/transformation.cpp b/src/ui/dialog/transformation.cpp
index 5bd3cb309..f571828ce 100644
--- a/src/ui/dialog/transformation.cpp
+++ b/src/ui/dialog/transformation.cpp
@@ -1005,7 +1005,7 @@ void Transformation::applyPageTransform(Inkscape::Selection *selection)
for(std::vector<SPItem*>::const_iterator i=tmp.begin();i!=tmp.end();i++){
SPItem *item = *i;
item->set_item_transform(displayed);
- SP_OBJECT(item)->updateRepr();
+ item->updateRepr();
}
} else {
sp_selection_apply_affine(selection, displayed); // post-multiply each object's transform