summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpeobject.cpp
diff options
context:
space:
mode:
authorjohnce <johnce@users.sourceforge.net>2009-08-05 05:56:35 +0000
committerjohnce <johnce@users.sourceforge.net>2009-08-05 05:56:35 +0000
commita6fa3b454bdcef9b23e0a3107b6de6b4c6a477a0 (patch)
treea4a0672dd6486fc8b41c33ece552186d551b4c3c /src/live_effects/lpeobject.cpp
parentSPDocument->Document (diff)
downloadinkscape-a6fa3b454bdcef9b23e0a3107b6de6b4c6a477a0.tar.gz
inkscape-a6fa3b454bdcef9b23e0a3107b6de6b4c6a477a0.zip
SPDocument->Document
(bzr r8405)
Diffstat (limited to 'src/live_effects/lpeobject.cpp')
-rw-r--r--src/live_effects/lpeobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpeobject.cpp b/src/live_effects/lpeobject.cpp
index ec0dee0be..c7ca5e4aa 100644
--- a/src/live_effects/lpeobject.cpp
+++ b/src/live_effects/lpeobject.cpp
@@ -93,7 +93,7 @@ LivePathEffectObject::livepatheffect_init(LivePathEffectObject *lpeobj)
* 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");
@@ -250,7 +250,7 @@ LivePathEffectObject *
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);