diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-02-29 20:15:53 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-02-29 20:15:53 +0000 |
| commit | f2aa7dc620e01b4663622f1862f05768ec633f41 (patch) | |
| tree | b1bb2611f959d45b239b1c5d0384a1f36fa8a23d /src/ui/dialog/object-properties.cpp | |
| parent | Fix glibmm 2.28 check and guard against inclusion of deprecated gtk headers (diff) | |
| download | inkscape-f2aa7dc620e01b4663622f1862f05768ec633f41.tar.gz inkscape-f2aa7dc620e01b4663622f1862f05768ec633f41.zip | |
cppcheck
added todo warning for sp-conn-end (after devmail message)
(bzr r11033)
Diffstat (limited to 'src/ui/dialog/object-properties.cpp')
| -rw-r--r-- | src/ui/dialog/object-properties.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/object-properties.cpp b/src/ui/dialog/object-properties.cpp index 58e39d522..13d80e301 100644 --- a/src/ui/dialog/object-properties.cpp +++ b/src/ui/dialog/object-properties.cpp @@ -241,7 +241,7 @@ void ObjectProperties::widget_setup(void) LabelLabel.set_text (_("Ref")); } else { - SPObject *obj = (SPObject*)item; + SPObject *obj = static_cast<SPObject*>(item); /* ID */ EntryID.set_text (obj->getId()); @@ -324,7 +324,7 @@ void ObjectProperties::label_changed(void) /* Give feedback on success of setting the drawing object's label * using the widget's label text */ - SPObject *obj = (SPObject*)item; + SPObject *obj = static_cast<SPObject*>(item); if (label.compare (obj->defaultLabel())) { obj->setLabel(label.c_str()); DocumentUndo::done(SP_ACTIVE_DOCUMENT, SP_VERB_DIALOG_ITEM, |
