summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-05-22 19:23:59 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-05-22 19:23:59 (GMT)
commit0eeb80201f7b0cec320132546e3a5b5b6e1fae22 (patch)
treee52bf5de7c7c311b995c36321a5c1fae5d1c42ae
parent9a70ea561fecf533451f08ee3a490e2a5ba21372 (diff)
downloaduscxml-0eeb80201f7b0cec320132546e3a5b5b6e1fae22.zip
uscxml-0eeb80201f7b0cec320132546e3a5b5b6e1fae22.tar.gz
uscxml-0eeb80201f7b0cec320132546e3a5b5b6e1fae22.tar.bz2
Fixed issue 136
-rw-r--r--src/uscxml/transform/ChartToC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/transform/ChartToC.cpp b/src/uscxml/transform/ChartToC.cpp
index cd6ca75..61d1b25 100644
--- a/src/uscxml/transform/ChartToC.cpp
+++ b/src/uscxml/transform/ChartToC.cpp
@@ -1507,7 +1507,7 @@ void ChartToC::writeElementInfoInvocation(std::ostream& stream) {
std::stringstream ss;
DOMNodeList* cChilds = contents.front()->getChildNodes();
for (size_t j = 0; j < cChilds->getLength(); j++) {
- ss << cChilds->item(j);
+ ss << *(cChilds->item(j));
}
stream << " /* content */ ";
stream << (ss.str().size() > 0 ? "\"" + escape(ss.str()) + "\", " : "NULL, ") << std::endl;