diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-04-28 11:06:53 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-04-28 11:06:53 +0000 |
| commit | 16ac2bbcaba3dde76484f5161a433b39f8a31a12 (patch) | |
| tree | f6b9c13d4eafa5afbe8657eb0a1aed954f811c24 /src/widgets/sp-attribute-widget.cpp | |
| parent | update bbox when Filter General Settings modified (Bug 960986) (diff) | |
| download | inkscape-16ac2bbcaba3dde76484f5161a433b39f8a31a12.tar.gz inkscape-16ac2bbcaba3dde76484f5161a433b39f8a31a12.zip | |
minor cppcheck stuff
(bzr r12307)
Diffstat (limited to 'src/widgets/sp-attribute-widget.cpp')
| -rw-r--r-- | src/widgets/sp-attribute-widget.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/widgets/sp-attribute-widget.cpp b/src/widgets/sp-attribute-widget.cpp index 1f0fcd94e..4196e62bf 100644 --- a/src/widgets/sp-attribute-widget.cpp +++ b/src/widgets/sp-attribute-widget.cpp @@ -101,14 +101,12 @@ SPAttributeTable::~SPAttributeTable () void SPAttributeTable::clear(void) { - Gtk::Widget *w; - if (table) { std::vector<Gtk::Widget*> ch = table->get_children(); for (int i = (ch.size())-1; i >=0 ; i--) { - w = ch[i]; + Gtk::Widget *w = ch[i]; ch.pop_back(); if (w != NULL) { |
