From b3874d0fce9eacd2dc8183cc320c6e963a347c66 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Sat, 7 Jan 2012 22:27:52 +0100 Subject: dropped deprecated function sp_repr_get_double_attribute (bzr r10858) --- src/xml/repr-css.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/xml/repr-css.cpp') 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; } /** -- cgit v1.2.3