summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/object-properties.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-02-29 20:15:53 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-02-29 20:15:53 +0000
commitf2aa7dc620e01b4663622f1862f05768ec633f41 (patch)
treeb1bb2611f959d45b239b1c5d0384a1f36fa8a23d /src/ui/dialog/object-properties.cpp
parentFix glibmm 2.28 check and guard against inclusion of deprecated gtk headers (diff)
downloadinkscape-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.cpp4
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,