mmserv/tms/tmsimpl/src/tmsglobalvoleffectimpl.cpp
changeset 14 80975da52420
parent 12 5a06f39ad45b
child 18 2eb3b066cc7d
equal deleted inserted replaced
12:5a06f39ad45b 14:80975da52420
    75 gint TMSGlobalVolEffectImpl::SetParent(TMSEffect*& parent)
    75 gint TMSGlobalVolEffectImpl::SetParent(TMSEffect*& parent)
    76     {
    76     {
    77     gint ret(TMS_RESULT_SUCCESS);
    77     gint ret(TMS_RESULT_SUCCESS);
    78     if (this->iBody)
    78     if (this->iBody)
    79         {
    79         {
    80         ((TMSGlobalVolEffectBodyImpl*) this->iBody)->SetParent(parent);
    80         static_cast<TMSGlobalVolEffectBodyImpl*>(this->iBody)->SetParent(
       
    81                 parent);
    81         }
    82         }
    82     else
    83     else
    83         {
    84         {
    84         ret = TMS_RESULT_UNINITIALIZED_OBJECT;
    85         ret = TMS_RESULT_UNINITIALIZED_OBJECT;
    85         }
    86         }