diff options
Diffstat (limited to 'org/madore/damlengine/TodoBodyElement.java')
-rw-r--r-- | org/madore/damlengine/TodoBodyElement.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org/madore/damlengine/TodoBodyElement.java b/org/madore/damlengine/TodoBodyElement.java index fd75b89..4286aa0 100644 --- a/org/madore/damlengine/TodoBodyElement.java +++ b/org/madore/damlengine/TodoBodyElement.java @@ -36,7 +36,7 @@ public final class TodoBodyElement extends TodoDefaultElement { ArrayList<Node> childList = getChildList(this.node); ArrayList<TodoElement> toProcess = new ArrayList<TodoElement>(childList.size()+8); if ( node.getAttributeNS(null, "notitle").equals("") - && ctx.title != null ) { + && ctx.gc.title != null ) { Element token = ctx.doc.createElementNS(DamlEngine.DAML_NS, "d:implicit-do-title"); bodyNode.appendChild(ctx.doc.createTextNode("\n")); @@ -45,7 +45,7 @@ public final class TodoBodyElement extends TodoDefaultElement { token, this.ctx, this)); } if ( node.getAttributeNS(null, "nosubtitle").equals("") - && ctx.subtitle != null ) { + && ctx.gc.subtitle != null ) { Element token = ctx.doc.createElementNS(DamlEngine.DAML_NS, "d:implicit-do-subtitle"); bodyNode.appendChild(ctx.doc.createTextNode("\n")); @@ -61,7 +61,7 @@ public final class TodoBodyElement extends TodoDefaultElement { toProcess.add(new TodoNavbar(token, this.ctx, this)); } if ( node.getAttributeNS(null, "notranslations").equals("") - && ctx.translations != null ) { + && ctx.gc.translations != null ) { Element token = ctx.doc.createElementNS(DamlEngine.DAML_NS, "d:implicit-do-translations"); bodyNode.appendChild(ctx.doc.createTextNode("\n")); |