summaryrefslogtreecommitdiffstats
path: root/src/widgets/rect-toolbar.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <mc@localhost.localdomain>2015-02-27 03:21:48 +0000
committerMarc Jeanmougin <mc@localhost.localdomain>2015-02-27 03:21:48 +0000
commit9bdc157f705ca61516e599cb416580283d21ec35 (patch)
tree59cc0dbb46445c8741913922bf7d983f35d5c11d /src/widgets/rect-toolbar.cpp
parentcorrected the casts (hopefully) (diff)
downloadinkscape-9bdc157f705ca61516e599cb416580283d21ec35.tar.gz
inkscape-9bdc157f705ca61516e599cb416580283d21ec35.zip
more cast cleanup
(bzr r13922.1.11)
Diffstat (limited to 'src/widgets/rect-toolbar.cpp')
-rw-r--r--src/widgets/rect-toolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/rect-toolbar.cpp b/src/widgets/rect-toolbar.cpp
index 2b07dd3b9..37ffd7553 100644
--- a/src/widgets/rect-toolbar.cpp
+++ b/src/widgets/rect-toolbar.cpp
@@ -112,7 +112,7 @@ static void sp_rtb_value_changed(GtkAdjustment *adj, GObject *tbl, gchar const *
if (gtk_adjustment_get_value(adj) != 0) {
(SP_RECT(*i)->*setter)(Quantity::convert(gtk_adjustment_get_value(adj), unit, desktop->getNamedView()->svg_units));
} else {
- SP_OBJECT(*i)->getRepr()->setAttribute(value_name, NULL);
+ (*i)->getRepr()->setAttribute(value_name, NULL);
}
modmade = true;
}