diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2011-10-20 19:12:09 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2011-10-20 19:12:09 +0000 |
| commit | 4012b2b37ebabcbdf8a695b418ebc05b897ad0cd (patch) | |
| tree | 8cc006f097f7a44b1fa65c9231db576d1145dcd7 /src/extension/dxf2svg/entities.cpp | |
| parent | Filters. Filters file update (changes in Non Realistic 3D Shaders). (diff) | |
| download | inkscape-4012b2b37ebabcbdf8a695b418ebc05b897ad0cd.tar.gz inkscape-4012b2b37ebabcbdf8a695b418ebc05b897ad0cd.zip | |
cppcheck
(bzr r10686)
Diffstat (limited to 'src/extension/dxf2svg/entities.cpp')
| -rw-r--r-- | src/extension/dxf2svg/entities.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/dxf2svg/entities.cpp b/src/extension/dxf2svg/entities.cpp index d0d33503e..c94df06f3 100644 --- a/src/extension/dxf2svg/entities.cpp +++ b/src/extension/dxf2svg/entities.cpp @@ -398,8 +398,8 @@ lwpolyline::lwpolyline( std::vector< dxfpair > section ){ } // Now put on the last data that was found - if (others.size() > 0 ){ - sections.push_back( others ); + if (!others.empty()){ + sections.push_back(others); } reset_extents(); |
