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/unicoderange.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/unicoderange.cpp')
| -rw-r--r-- | src/unicoderange.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unicoderange.cpp b/src/unicoderange.cpp index 688969207..dcf461214 100644 --- a/src/unicoderange.cpp +++ b/src/unicoderange.cpp @@ -116,9 +116,9 @@ Glib::ustring UnicodeRange::attribute_string(){ gunichar UnicodeRange::sample_glyph(){ //This could be better - if (unichars.size()) + if (!unichars.empty()) return unichars[0]; - if (range.size()) + if (!range.empty()) return hex2int(range[0].start); return (gunichar) ' '; } |
