mmserv/tms/tmsimpl/src/tmsglobalgaineffectimpl.cpp
branchRCL_3
changeset 10 3d8c721bf319
parent 0 71ca22bcf22a
child 13 f5c5c82a163e
--- a/mmserv/tms/tmsimpl/src/tmsglobalgaineffectimpl.cpp	Mon Mar 15 12:42:35 2010 +0200
+++ b/mmserv/tms/tmsimpl/src/tmsglobalgaineffectimpl.cpp	Wed Mar 31 22:29:45 2010 +0300
@@ -15,9 +15,8 @@
  *
  */
 
-#include <tms.h>
+#include "tmsutility.h"
 #include "tmsglobalgaineffectbodyimpl.h"
-#include "tmsutility.h"
 #include "tmsglobalgaineffectimpl.h"
 
 using namespace TMS;
@@ -67,19 +66,18 @@
     if (self && ret == TMS_RESULT_SUCCESS)
         {
         tmseffect = self;
-        self->SetParentEffect(tmseffect);
+        ret = self->SetParent(tmseffect);
         }
     TRACE_PRN_FN_EXT;
     return ret;
     }
 
-gint TMSGlobalGainEffectImpl::SetParentEffect(TMSEffect*& parenteffect)
+gint TMSGlobalGainEffectImpl::SetParent(TMSEffect*& parent)
     {
     gint ret(TMS_RESULT_SUCCESS);
     if (this->iBody)
         {
-        ((TMSGlobalGainEffectBodyImpl*) this->iBody)->SetParentEffect(
-                parenteffect);
+        ((TMSGlobalGainEffectBodyImpl*) this->iBody)->SetParent(parent);
         }
     else
         {
@@ -88,4 +86,3 @@
     return ret;
     }
 
-// End of file