diff options
author | David Tardon <dtardon@redhat.com> | 2017-10-17 13:38:14 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2017-10-17 13:38:14 +0200 |
commit | 8bbd72308c0968084bb55173192863ca9554241c (patch) | |
tree | 3bd354ac23dc199ceafd82b113297c08d10885ce | |
parent | 20e3d231bed64917a9f683541100cf53e98c26c5 (diff) |
restrict scope of var
Change-Id: Ie6af8b5408b6dc8d5920843aafd92e935ef4df42
-rw-r--r-- | src/lib/VSDContentCollector.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/VSDContentCollector.cpp b/src/lib/VSDContentCollector.cpp index 4d0bde7..7412b98 100644 --- a/src/lib/VSDContentCollector.cpp +++ b/src/lib/VSDContentCollector.cpp @@ -2062,11 +2062,10 @@ void libvisio::VSDContentCollector::_generatePolylineFromNURBS(unsigned degree, if (m_noShow) return; - librevenge::RVNGPropertyList node; - for (unsigned i = 0; i < VSD_NUM_POLYLINES_PER_KNOT * knotVector.size(); i++) { - node.clear(); + librevenge::RVNGPropertyList node; + node.insert("librevenge:path-action", "L"); double x = 0; double y = 0; |