Skip to content
Snippets Groups Projects
Commit de970dcb authored by Johannes Junggeburth's avatar Johannes Junggeburth :dog2:
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent f9b7e763
No related branches found
No related tags found
1 merge request!246Developments for the GeoModelXMLDumper - The first nail in AGDD's coffin
...@@ -40,8 +40,8 @@ GeoIntrusivePtr<RCBase> MakeShapeShift::make(const xercesc::DOMElement *element, ...@@ -40,8 +40,8 @@ GeoIntrusivePtr<RCBase> MakeShapeShift::make(const xercesc::DOMElement *element,
std::string nodeName{toRelease}; std::string nodeName{toRelease};
XMLString::release(&toRelease); XMLString::release(&toRelease);
const GeoTransform *geoXf = (nodeName == "transformation") const GeoTransform *geoXf = (nodeName == "transformation")
? static_cast<const GeoTransform *>( gmxUtil.tagHandler.transformation.process(dynamic_cast<DOMElement *>(child), gmxUtil)) ? dynamic_pointer_cast<const GeoTransform>( gmxUtil.tagHandler.transformation.process(dynamic_cast<DOMElement *>(child), gmxUtil))
: static_cast<const GeoTransform *>( gmxUtil.tagHandler.transformationref.process(dynamic_cast<DOMElement *>(child), gmxUtil)); : dynamic_pointer_cast<const GeoTransform>( gmxUtil.tagHandler.transformationref.process(dynamic_cast<DOMElement *>(child), gmxUtil));
hepXf = geoXf->getTransform(); hepXf = geoXf->getTransform();
break; break;
} default: // More than 3 elements? } default: // More than 3 elements?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment