summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-mirror_symmetry.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/lpe-mirror_symmetry.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/lpe-mirror_symmetry.cpp')
-rw-r--r--src/live_effects/lpe-mirror_symmetry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-mirror_symmetry.cpp b/src/live_effects/lpe-mirror_symmetry.cpp
index c31ce7c01..97015c34d 100644
--- a/src/live_effects/lpe-mirror_symmetry.cpp
+++ b/src/live_effects/lpe-mirror_symmetry.cpp
@@ -244,7 +244,7 @@ LPEMirrorSymmetry::toMirror(Geom::Affine transform)
items.push_back(elemref_id);
SPObject *elemref= NULL;
Inkscape::XML::Node *phantom = NULL;
- if (elemref = document->getObjectById(elemref_id)) {
+ if ((elemref = document->getObjectById(elemref_id))) {
phantom = elemref->getRepr();
} else {
phantom = sp_lpe_item->getRepr()->duplicate(xml_doc);