From: jaspervdg Date: Fri, 20 Jun 2008 11:09:25 +0000 (+0000) Subject: Fix for sp-style-elem-test to make it work again with new code. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=09c8c7fa1c6b421402c2f6c9ebd80cc778f217c8;p=inkscape.git Fix for sp-style-elem-test to make it work again with new code. --- diff --git a/src/sp-style-elem-test.h b/src/sp-style-elem-test.h index 755fe4418..0eaf12e33 100644 --- a/src/sp-style-elem-test.h +++ b/src/sp-style-elem-test.h @@ -84,7 +84,7 @@ public: sp_object_set(SP_OBJECT(style_elem), SP_ATTR_TYPE, "text/css"); Inkscape::XML::Node *repr = sp_document_repr_doc(_doc)->createElement("svg:style"); - SP_OBJECT(style_elem)->updateRepr(repr, SP_OBJECT_WRITE_ALL); + SP_OBJECT(style_elem)->updateRepr(sp_document_repr_doc(_doc), repr, SP_OBJECT_WRITE_ALL); { gchar const *typ = repr->attribute("type"); TS_ASSERT( typ != NULL );