equal
deleted
inserted
replaced
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 } |