mmserv/tms/tmsimpl/src/tmsglobalvoleffectimpl.cpp
branchRCL_3
changeset 9 f5c5c82a163e
parent 7 3d8c721bf319
child 12 2eb3b066cc7d
equal deleted inserted replaced
8:03a293c97d5c 9:f5c5c82a163e
    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         }