diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2015-04-27 23:20:57 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <mc@M0nst3r.bouyguesbox.fr> | 2015-04-27 23:20:57 +0000 |
| commit | 643c75ddbbbea2f018050faa1e7e38c71482418a (patch) | |
| tree | 64208db14b375bfe7d6bed6ab586f0e7686939d7 /src/splivarot.cpp | |
| parent | removed a few "using Inkscape::Util::GSListConstIterator" (diff) | |
| download | inkscape-643c75ddbbbea2f018050faa1e7e38c71482418a.tar.gz inkscape-643c75ddbbbea2f018050faa1e7e38c71482418a.zip | |
removed a few useless SP_OBJECT() casts
(bzr r13922.1.17)
Diffstat (limited to '')
| -rw-r--r-- | src/splivarot.cpp | 4 |
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.")); |
