summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-03-16 22:29:49 +0000
committerJabiertxof <jtx@jtx>2017-03-16 22:29:49 +0000
commitfdd8ce77fa742072a1cea8136acaeed1dae079b5 (patch)
tree6418cb90555b397b3c39ed8a07e5f3f0dd158a6a /src/live_effects/effect.cpp
parentFix rendering when canvas rotated. General code clean-up and documentation. (diff)
downloadinkscape-fdd8ce77fa742072a1cea8136acaeed1dae079b5.tar.gz
inkscape-fdd8ce77fa742072a1cea8136acaeed1dae079b5.zip
Remove some compiling warns
(bzr r15599)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index f664870ec..017947cda 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -440,7 +440,7 @@ Effect::processObjects(LpeAction lpe_action)
return;
}
SPObject *elemref = NULL;
- if (elemref = document->getObjectById(id)) {
+ if ((elemref = document->getObjectById(id))) {
Inkscape::XML::Node * elemnode = elemref->getRepr();
std::vector<SPItem*> item_list;
item_list.push_back(SP_ITEM(elemref));