Commit 3901e81e authored by Mike's avatar Mike

TEXT to TINYXML_TEXT

parent 2f746df8
...@@ -967,7 +967,7 @@ namespace Nektar ...@@ -967,7 +967,7 @@ namespace Nektar
std::string elementStr; std::string elementStr;
while(elementChild) while(elementChild)
{ {
if (elementChild->Type() == TiXmlNode::TEXT) if (elementChild->Type() == TiXmlNode::TINYXML_TEXT)
{ {
elementStr += elementChild->ToText()->ValueStr(); elementStr += elementChild->ToText()->ValueStr();
} }
......
...@@ -1879,7 +1879,7 @@ namespace Nektar ...@@ -1879,7 +1879,7 @@ namespace Nektar
tagcontent << *parameter; tagcontent << *parameter;
TiXmlNode *node = parameter->FirstChild(); TiXmlNode *node = parameter->FirstChild();
while (node && node->Type() != TiXmlNode::TEXT) while (node && node->Type() != TiXmlNode::TINYXML_TEXT)
{ {
node = node->NextSibling(); node = node->NextSibling();
} }
...@@ -2253,7 +2253,7 @@ namespace Nektar ...@@ -2253,7 +2253,7 @@ namespace Nektar
// Comments appear as nodes just like elements. We are // Comments appear as nodes just like elements. We are
// specifically looking for text in the body of the // specifically looking for text in the body of the
// definition. // definition.
while(varChild && varChild->Type() != TiXmlNode::TEXT) while(varChild && varChild->Type() != TiXmlNode::TINYXML_TEXT)
{ {
varChild = varChild->NextSibling(); varChild = varChild->NextSibling();
} }
......
...@@ -108,7 +108,7 @@ namespace Nektar ...@@ -108,7 +108,7 @@ namespace Nektar
// Comments appear as nodes just like elements. // Comments appear as nodes just like elements.
// We are specifically looking for text in the body // We are specifically looking for text in the body
// of the definition. // of the definition.
while(boundaryRegionChild && boundaryRegionChild->Type() != TiXmlNode::TEXT) while(boundaryRegionChild && boundaryRegionChild->Type() != TiXmlNode::TINYXML_TEXT)
{ {
boundaryRegionChild = boundaryRegionChild->NextSibling(); boundaryRegionChild = boundaryRegionChild->NextSibling();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment