diff options
| author | Shlomi Fish <shlomif@shlomifish.org> | 2017-10-05 12:39:49 +0000 |
|---|---|---|
| committer | Shlomi Fish <shlomif@shlomifish.org> | 2017-10-05 12:39:49 +0000 |
| commit | 00937eed288b622e9ae70d0c4bf63606052db3cf (patch) | |
| tree | 9f8cb1cbc8fb72ae1754458ba8321dd611e1e54b /src/sp-root.cpp | |
| parent | Merge branch 'edit-clip-object' of gitlab.com:stfacc/inkscape (diff) | |
| download | inkscape-00937eed288b622e9ae70d0c4bf63606052db3cf.tar.gz inkscape-00937eed288b622e9ae70d0c4bf63606052db3cf.zip | |
Merge double assignment + eliminate trail space.
Diffstat (limited to 'src/sp-root.cpp')
| -rw-r--r-- | src/sp-root.cpp | 8 |
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); |
