summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
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/splivarot.cpp
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/splivarot.cpp')
-rw-r--r--src/splivarot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index a04dedda9..f61a30462 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -354,8 +354,8 @@ sp_selected_path_boolop(Inkscape::Selection *selection, SPDesktop *desktop, bool
if (bop == bool_op_diff || bop == bool_op_cut || bop == bool_op_slice) {
// check in the tree to find which element of the selection list is topmost (for 2-operand commands only)
- Inkscape::XML::Node *a = SP_OBJECT(il.front())->getRepr();
- Inkscape::XML::Node *b = SP_OBJECT(il.back())->getRepr();
+ Inkscape::XML::Node *a = il.front()->getRepr();
+ Inkscape::XML::Node *b = il.back()->getRepr();
if (a == NULL || b == NULL) {
boolop_display_error_message(desktop, _("Unable to determine the <b>z-order</b> of the objects selected for difference, XOR, division, or path cut."));