diff options
| author | johnce <johnce@users.sourceforge.net> | 2009-08-05 05:56:35 +0000 |
|---|---|---|
| committer | johnce <johnce@users.sourceforge.net> | 2009-08-05 05:56:35 +0000 |
| commit | a6fa3b454bdcef9b23e0a3107b6de6b4c6a477a0 (patch) | |
| tree | a4a0672dd6486fc8b41c33ece552186d551b4c3c /src/live_effects | |
| parent | SPDocument->Document (diff) | |
| download | inkscape-a6fa3b454bdcef9b23e0a3107b6de6b4c6a477a0.tar.gz inkscape-a6fa3b454bdcef9b23e0a3107b6de6b4c6a477a0.zip | |
SPDocument->Document
(bzr r8405)
Diffstat (limited to 'src/live_effects')
| -rw-r--r-- | src/live_effects/effect.cpp | 6 | ||||
| -rw-r--r-- | src/live_effects/lpeobject.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index de0535448..f92f7c2ab 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -246,7 +246,7 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) } void -Effect::createAndApply(const char* name, SPDocument *doc, SPItem *item) +Effect::createAndApply(const char* name, Document *doc, SPItem *item) { // Path effect definition Inkscape::XML::Document *xml_doc = sp_document_repr_doc(doc); @@ -263,7 +263,7 @@ Effect::createAndApply(const char* name, SPDocument *doc, SPItem *item) } void -Effect::createAndApply(EffectType type, SPDocument *doc, SPItem *item) +Effect::createAndApply(EffectType type, Document *doc, SPItem *item) { createAndApply(LPETypeConverter.get_key(type).c_str(), doc, item); } @@ -576,7 +576,7 @@ Effect::getRepr() return SP_OBJECT_REPR(lpeobj); } -SPDocument * +Document * Effect::getSPDoc() { if (SP_OBJECT_DOCUMENT(lpeobj) == NULL) g_message("Effect::getSPDoc() returns NULL"); 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); |
