From cb9e75a639073d83a523b2dff5ca91be730faf19 Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Tue, 24 Sep 2013 11:49:31 -0400 Subject: Replace xml node get_double with simple direct value. Fixed bugs: - https://launchpad.net/bugs/1229558 (bzr r12585) --- src/sp-flowtext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-flowtext.cpp') diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp index 23eba73b1..5e13218f5 100644 --- a/src/sp-flowtext.cpp +++ b/src/sp-flowtext.cpp @@ -204,7 +204,7 @@ void SPFlowtext::set(unsigned int key, const gchar* value) { if ( val == NULL ) { this->par_indent = 0.0; } else { - sp_repr_get_double((Inkscape::XML::Node*)opts, "par-indent", &this->par_indent); + this->par_indent = g_ascii_strtod(val, NULL); } } -- cgit v1.2.3