summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f164928)
raw | patch | inline | side by side (parent: f164928)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 24 Jan 2007 19:16:33 +0000 (19:16 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 24 Jan 2007 19:16:33 +0000 (19:16 +0000) |
src/text-chemistry.cpp | patch | blob | history |
diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp
index 0a655fdcb5e3620daeee1e69ff04dba10bc86871..79d5e3a2dc390d5a62068ea6b80c0db2beaff839 100644 (file)
--- a/src/text-chemistry.cpp
+++ b/src/text-chemistry.cpp
SPItem *flowtext = SP_ITEM(items->data);
+ if (sp_te_get_string_multiline(flowtext) == NULL) { // flowtext is empty
+ continue;
+ }
+
/* Create <text> */
Inkscape::XML::Node *rtext = xml_doc->createElement("svg:text");
rtext->setAttribute("xml:space", "preserve"); // we preserve spaces in the text objects we create