diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp
index 61960086a8d00d1ea59dd8fbb42601e039b6e241..f574b69fb14a6628f693373dac3927d2c9fc27e1 100644 (file)
--- a/src/text-chemistry.cpp
+++ b/src/text-chemistry.cpp
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);
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);