Refactored: use static_cast and const pointer where possible.
Refactored: use static_cast and const pointer where possible.


[SVN r56501]

nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme