summaryrefslogtreecommitdiffstats
path: root/src/arc-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/arc-context.cpp')
-rw-r--r--src/arc-context.cpp3
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");