summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2017-10-05 12:39:49 +0000
committerShlomi Fish <shlomif@shlomifish.org>2017-10-05 12:39:49 +0000
commit00937eed288b622e9ae70d0c4bf63606052db3cf (patch)
tree9f8cb1cbc8fb72ae1754458ba8321dd611e1e54b /src
parentMerge branch 'edit-clip-object' of gitlab.com:stfacc/inkscape (diff)
downloadinkscape-00937eed288b622e9ae70d0c4bf63606052db3cf.tar.gz
inkscape-00937eed288b622e9ae70d0c4bf63606052db3cf.zip
Merge double assignment + eliminate trail space.
Diffstat (limited to 'src')
-rw-r--r--src/sp-root.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/sp-root.cpp b/src/sp-root.cpp
index 34047054a..f5e0a7eb9 100644
--- a/src/sp-root.cpp
+++ b/src/sp-root.cpp
@@ -355,9 +355,7 @@ Inkscape::XML::Node *SPRoot::write(Inkscape::XML::Document *xml_doc, Inkscape::X
Inkscape::DrawingItem *SPRoot::show(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags)
{
- Inkscape::DrawingItem *ai = 0;
-
- ai = SPGroup::show(drawing, key, flags);
+ Inkscape::DrawingItem *ai = SPGroup::show(drawing, key, flags);
if (ai) {
Inkscape::DrawingGroup *g = dynamic_cast<Inkscape::DrawingGroup *>(ai);
@@ -366,10 +364,10 @@ Inkscape::DrawingItem *SPRoot::show(Inkscape::Drawing &drawing, unsigned int key
// Uncomment to print out XML tree
// getRepr()->recursivePrintTree(0);
-
+
// Uncomment to print out SP Object tree
// recursivePrintTree(0);
-
+
// Uncomment to print out Display Item tree
// ai->recursivePrintTree(0);