Code

Revert recent refactoring changes by johnce because they break the build, which canno...
[inkscape.git] / src / text-chemistry.cpp
index 61960086a8d00d1ea59dd8fbb42601e039b6e241..f574b69fb14a6628f693373dac3927d2c9fc27e1 100644 (file)
@@ -301,7 +301,7 @@ text_flow_into_shape()
     if (!desktop)
         return;
 
-    Document *doc = sp_desktop_document (desktop);
+    SPDocument *doc = sp_desktop_document (desktop);
     Inkscape::XML::Document *xml_doc = sp_document_repr_doc(doc);
 
     Inkscape::Selection *selection = sp_desktop_selection(desktop);
@@ -393,7 +393,7 @@ text_unflow ()
     if (!desktop)
         return;
 
-    Document *doc = sp_desktop_document (desktop);
+    SPDocument *doc = sp_desktop_document (desktop);
     Inkscape::XML::Document *xml_doc = sp_document_repr_doc(doc);
 
     Inkscape::Selection *selection = sp_desktop_selection(desktop);