mmserv/tms/tmsimpl/src/tmsglobalgaineffectimpl.cpp
branchRCL_3
changeset 13 f5c5c82a163e
parent 10 3d8c721bf319
child 18 2eb3b066cc7d
equal deleted inserted replaced
11:03a293c97d5c 13:f5c5c82a163e
    75 gint TMSGlobalGainEffectImpl::SetParent(TMSEffect*& parent)
    75 gint TMSGlobalGainEffectImpl::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         ((TMSGlobalGainEffectBodyImpl*) this->iBody)->SetParent(parent);
    80         static_cast<TMSGlobalGainEffectBodyImpl*>(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         }