summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/object-attributes.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-03-07 17:19:18 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-03-07 17:19:18 +0000
commit2eb76fb0bd4b8572866d3c2390eaa82747890292 (patch)
tree673eb8fdedd2cc54fd48347fb59cc5e1e20f8508 /src/ui/dialog/object-attributes.cpp
parentTranslations. Greek translation update by Dimitris Spingos. (diff)
downloadinkscape-2eb76fb0bd4b8572866d3c2390eaa82747890292.tar.gz
inkscape-2eb76fb0bd4b8572866d3c2390eaa82747890292.zip
cppcheck
(bzr r11052)
Diffstat (limited to 'src/ui/dialog/object-attributes.cpp')
-rw-r--r--src/ui/dialog/object-attributes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/object-attributes.cpp b/src/ui/dialog/object-attributes.cpp
index a1c747ce8..74deffb06 100644
--- a/src/ui/dialog/object-attributes.cpp
+++ b/src/ui/dialog/object-attributes.cpp
@@ -79,8 +79,8 @@ ObjectAttributes::ObjectAttributes (void) :
subselChangedConn(),
selectModifiedConn()
{
- attrTable.show();
- widget_setup();
+ attrTable.show();
+ widget_setup();
desktopChangeConn = deskTrack.connectDesktopChanged( sigc::mem_fun(*this, &ObjectAttributes::setTargetDesktop) );
deskTrack.connect(GTK_WIDGET(gobj()));
@@ -143,11 +143,11 @@ void ObjectAttributes::widget_setup (void)
return;
}
- int len = 0;
std::vector<Glib::ustring> labels;
std::vector<Glib::ustring> attrs;
if (CurrentItem != item)
{
+ int len = 0;
while (desc[len].label)
{
labels.push_back(desc[len].label);