summaryrefslogtreecommitdiffstats
path: root/src/sp-item.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2014-07-22 19:16:52 +0000
committerMarkus Engel <markus.engel@tum.de>2014-07-22 19:16:52 +0000
commitd7c36cd293ee35f53a5b47f2795b061888d4f79b (patch)
treede6360804cfdec65afcd11945db38051bd760817 /src/sp-item.cpp
parentReplaced some abs/fabs with std::abs. (diff)
downloadinkscape-d7c36cd293ee35f53a5b47f2795b061888d4f79b.tar.gz
inkscape-d7c36cd293ee35f53a5b47f2795b061888d4f79b.zip
Fixed some logic errors; clang warnings.
(bzr r13460)
Diffstat (limited to 'src/sp-item.cpp')
-rw-r--r--src/sp-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 0cdff6546..698559a9f 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -1264,7 +1264,7 @@ void SPItem::adjust_paint_recursive (Geom::Affine advertized_transform, Geom::Af
// Within text, we do not fork gradients, and so must not recurse to avoid double compensation;
// also we do not recurse into clones, because a clone's child is the ghost of its original -
// we must not touch it
- if (!(this && (SP_IS_TEXT(this) || SP_IS_USE(this)))) {
+ if (!(SP_IS_TEXT(this) || SP_IS_USE(this))) {
for (SPObject *o = children; o != NULL; o = o->next) {
if (SP_IS_ITEM(o)) {
// At the level of the transformed item, t_ancestors is identity;