diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/text_content.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/text_content.cc b/src/lib/text_content.cc index 4ba2de348..5ae8dd45e 100644 --- a/src/lib/text_content.cc +++ b/src/lib/text_content.cc @@ -104,10 +104,6 @@ TextContent::from_xml (Content* parent, cxml::ConstNodePtr node, int version) return { make_shared<TextContent>(parent, node, version) }; } - if (!node->optional_node_child("Text")) { - return {}; - } - list<shared_ptr<TextContent>> c; for (auto i: node->node_children("Text")) { c.push_back (make_shared<TextContent>(parent, i, version)); |
