diff options
| author | johnce <johnce@users.sourceforge.net> | 2009-08-05 18:32:38 +0000 |
|---|---|---|
| committer | johnce <johnce@users.sourceforge.net> | 2009-08-05 18:32:38 +0000 |
| commit | e8b5612f8dbe3cefaf56469320fa12bea9713a1b (patch) | |
| tree | 74775a17063750fef065108a67621107c9f56122 /src/arc-context.cpp | |
| parent | SPDocument->Document (diff) | |
| download | inkscape-e8b5612f8dbe3cefaf56469320fa12bea9713a1b.tar.gz inkscape-e8b5612f8dbe3cefaf56469320fa12bea9713a1b.zip | |
xml/Document -> DocumentTree
(bzr r8417)
Diffstat (limited to 'src/arc-context.cpp')
| -rw-r--r-- | src/arc-context.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arc-context.cpp b/src/arc-context.cpp index e689c93db..835e43a26 100644 --- a/src/arc-context.cpp +++ b/src/arc-context.cpp @@ -25,6 +25,7 @@ #include "display/sp-canvas.h" #include "sp-ellipse.h" #include "document.h" +#include "xml/document.h" #include "sp-namedview.h" #include "selection.h" #include "desktop-handles.h" @@ -403,7 +404,7 @@ static void sp_arc_drag(SPArcContext *ac, Geom::Point pt, guint state) } /* Create object */ - Inkscape::XML::Document *xml_doc = sp_document_repr_doc(desktop->doc()); + Inkscape::XML::DocumentTree *xml_doc = sp_document_repr_doc(desktop->doc()); Inkscape::XML::Node *repr = xml_doc->createElement("svg:path"); repr->setAttribute("sodipodi:type", "arc"); |
