Code

implemented proper error checking
[inkscape.git] / src / sp-object-repr.cpp
index 7583049dcceca82578afcf6aa7ab2d2edc65f23c..17f2706adc4713ebe61311d747d162adec160df6 100644 (file)
@@ -26,7 +26,7 @@
 #include "persp3d.h"
 #include "sp-ellipse.h"
 #include "sp-star.h"
-#include "sp-stop-fns.h"
+#include "sp-stop.h"
 #include "sp-spiral.h"
 #include "sp-offset.h"
 #include "sp-line.h"
@@ -94,7 +94,7 @@ static GType name_to_gtype(NameType name_type, gchar const *name);
  * Construct an SPRoot and all its descendents from the given repr.
  */
 SPObject *
-sp_object_repr_build_tree(Document *document, Inkscape::XML::Node *repr)
+sp_object_repr_build_tree(SPDocument *document, Inkscape::XML::Node *repr)
 {
     g_assert(document != NULL);
     g_assert(repr != NULL);
@@ -290,4 +290,4 @@ sp_object_type_register(gchar const *name, GType const gtype)
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :