summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-css.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-01-07 21:27:52 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-01-07 21:27:52 +0000
commitb3874d0fce9eacd2dc8183cc320c6e963a347c66 (patch)
tree58c94bb6aebb90724ddc9a3fae9920d56884ae89 /src/xml/repr-css.cpp
parentdocumentation: spelling (diff)
downloadinkscape-b3874d0fce9eacd2dc8183cc320c6e963a347c66.tar.gz
inkscape-b3874d0fce9eacd2dc8183cc320c6e963a347c66.zip
dropped deprecated function sp_repr_get_double_attribute
(bzr r10858)
Diffstat (limited to 'src/xml/repr-css.cpp')
-rw-r--r--src/xml/repr-css.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xml/repr-css.cpp b/src/xml/repr-css.cpp
index d10a04df0..4fb1223de 100644
--- a/src/xml/repr-css.cpp
+++ b/src/xml/repr-css.cpp
@@ -190,8 +190,10 @@ double sp_repr_css_double_property(SPCSSAttr *css, gchar const *name, double def
{
g_assert(css != NULL);
g_assert(name != NULL);
-
- return sp_repr_get_double_attribute((Node *) css, name, defval);
+
+ double val = defval;
+ sp_repr_get_double((Node *) css, name, &val);
+ return val;
}
/**