Changeset 2907 for code/branches/questsystem5/src/core/Template.cc
- Timestamp:
- Apr 8, 2009, 12:36:08 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/core/Template.cc
- Property svn:mergeinfo changed
/code/branches/gui/src/core/Template.cc (added) merged: 2815
r2710 r2907 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_) - Property svn:mergeinfo changed
Note: See TracChangeset
for help on using the changeset viewer.