Changeset 2815 for code/branches/gui/src/core/Template.cc
- Timestamp:
- Mar 21, 2009, 5:56:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/core/Template.cc
r2710 r2815 65 65 if (element) 66 66 { 67 TiXmlElement* tixmlelement = dynamic_cast<TiXmlElement*>(element->GetTiXmlPointer());67 TiXmlElement* tixmlelement = static_cast<TiXmlElement*>(element->GetTiXmlPointer()); 68 68 if (tixmlelement) 69 69 this->setXMLElement(*tixmlelement); … … 138 138 COUT(4) << object->getLoaderIndentation() << " aplying Template \"" << this->getName() << "\"..." << std::endl; 139 139 140 Element temp = ((TiXmlElement*)&this->getXMLElement());140 Element temp = &const_cast<TiXmlElement&>(this->getXMLElement()); 141 141 142 142 if (this->bLoadDefaults_)
Note: See TracChangeset
for help on using the changeset viewer.