index ec0dee0beb1c5e41d9281efa2d9a28e9f939fdd7..c7ca5e4aab448e79a3dc54e3daf4db81af270801 100644 (file)
* Virtual build: set livepatheffect attributes from its associated XML node.
*/
void
-LivePathEffectObject::livepatheffect_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
+LivePathEffectObject::livepatheffect_build(SPObject *object, Document *document, Inkscape::XML::Node *repr)
{
#ifdef LIVEPATHEFFECT_VERBOSE
g_message("Build livepatheffect");
LivePathEffectObject::fork_private_if_necessary(unsigned int nr_of_allowed_users)
{
if (SP_OBJECT_HREFCOUNT(this) > nr_of_allowed_users) {
- SPDocument *doc = SP_OBJECT_DOCUMENT(this);
+ Document *doc = SP_OBJECT_DOCUMENT(this);
Inkscape::XML::Document *xml_doc = sp_document_repr_doc(doc);
Inkscape::XML::Node *repr = SP_OBJECT_REPR (this)->duplicate(xml_doc);