mmserv/tms/tmsimpl/src/tmsinbandtoneimpl.cpp
changeset 14 80975da52420
parent 12 5a06f39ad45b
--- a/mmserv/tms/tmsimpl/src/tmsinbandtoneimpl.cpp	Fri Apr 16 15:29:42 2010 +0300
+++ b/mmserv/tms/tmsimpl/src/tmsinbandtoneimpl.cpp	Mon May 03 12:59:52 2010 +0300
@@ -76,7 +76,7 @@
     {
     gint ret(TMS_RESULT_SUCCESS);
     TRACE_PRN_FN_ENT;
-    delete (TMSInbandToneImpl*) (inbandtone);
+    delete (static_cast<TMSInbandToneImpl*>(inbandtone));
     inbandtone = NULL;
     TRACE_PRN_FN_EXT;
     return ret;
@@ -87,7 +87,7 @@
     gint ret(TMS_RESULT_SUCCESS);
     if (this->iBody)
         {
-        ((TMSInbandToneBodyImpl*) this->iBody)->SetParent(parent);
+        static_cast<TMSInbandToneBodyImpl*>(this->iBody)->SetParent(parent);
         }
     else
         {