[#2212] CID37595:

Checked the correct status variable
[#2212] CID37591:

dynamic_cast cannot fail for upcast and no explicit cast is required for
upcast, and 'new' cannot fail.
[#2212] CID37590:

Moved error check to after the call it referred to
[#2212] CID37589:

Removed "debug flag" and associated conditionals
[#2212] CID37585:

Removing vestigial error checking
[#2212] CID37579:

Removed impossible error check