From 100a24a53c862201d1fcaaf81c6faacb694d37e9 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Fri, 6 Feb 2015 19:23:07 +0100 Subject: changed name of text field from content to default. --- src/plugins/html/DemoOutput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/html') diff --git a/src/plugins/html/DemoOutput.cpp b/src/plugins/html/DemoOutput.cpp index eddff7b..074e65e 100644 --- a/src/plugins/html/DemoOutput.cpp +++ b/src/plugins/html/DemoOutput.cpp @@ -323,7 +323,7 @@ Rooted DemoHTMLTransformer::transformParagraph( std::string childDescriptorName = t->getDescriptor()->getName(); if (childDescriptorName == "text") { Handle primitive = - t->getField("content")[0].cast(); + t->getField()[0].cast(); if (primitive.isNull()) { throw OusiaException("Text field is not primitive!"); } -- cgit v1.2.3