mmserv/tms/tmsimpl/src/tmsgaineffectimpl.cpp
changeset 14 80975da52420
parent 12 5a06f39ad45b
child 18 2eb3b066cc7d
--- a/mmserv/tms/tmsimpl/src/tmsgaineffectimpl.cpp	Fri Apr 16 15:29:42 2010 +0300
+++ b/mmserv/tms/tmsimpl/src/tmsgaineffectimpl.cpp	Mon May 03 12:59:52 2010 +0300
@@ -77,7 +77,8 @@
     gint ret(TMS_RESULT_SUCCESS);
     if (this->iBody)
         {
-        ((TMSGainEffectBodyImpl*) this->iBody)->SetProxy(aProxy, queuehandler);
+        static_cast<TMSGainEffectBodyImpl*>(this->iBody)->SetProxy(aProxy,
+                queuehandler);
         }
     else
         {
@@ -91,7 +92,7 @@
     gint ret(TMS_RESULT_SUCCESS);
     if (this->iBody)
         {
-        ((TMSGainEffectBodyImpl*) this->iBody)->SetParent(parent);
+        static_cast<TMSGainEffectBodyImpl*>(this->iBody)->SetParent(parent);
         }
     else
         {