summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-css.cpp
diff options
context:
space:
mode:
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;
}
/**