summaryrefslogtreecommitdiffstats
path: root/src/widgets
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/widgets
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/widgets')
-rw-r--r--src/widgets/stroke-style.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp
index 481fa0609..482ca7af4 100644
--- a/src/widgets/stroke-style.cpp
+++ b/src/widgets/stroke-style.cpp
@@ -902,7 +902,7 @@ StrokeStyle::updateLine()
return;
std::vector<SPItem*> const objects = sel->itemList();
- SPObject * const object = SP_OBJECT(objects[0]);
+ SPObject * const object = objects[0];
SPStyle * const style = object->style;
/* Markers */
@@ -1002,7 +1002,7 @@ StrokeStyle::scaleLine()
/* Set dash */
setScaledDash(css, ndash, dash, offset, width);
- sp_desktop_apply_css_recursive (SP_OBJECT(*i), css, true);
+ sp_desktop_apply_css_recursive ((*i), css, true);
}
g_free(dash);