mmserv/tms/tmsimpl/src/tmsdtmfimpl.cpp
changeset 14 80975da52420
parent 12 5a06f39ad45b
child 33 5e8b14bae8c3
--- a/mmserv/tms/tmsimpl/src/tmsdtmfimpl.cpp	Fri Apr 16 15:29:42 2010 +0300
+++ b/mmserv/tms/tmsimpl/src/tmsdtmfimpl.cpp	Mon May 03 12:59:52 2010 +0300
@@ -77,7 +77,7 @@
     {
     gint ret(TMS_RESULT_SUCCESS);
     TRACE_PRN_FN_ENT;
-    delete (TMSDTMFImpl*) (dtmf);
+    delete (static_cast<TMSDTMFImpl*>(dtmf));
     dtmf = NULL;
     TRACE_PRN_FN_EXT;
     return ret;
@@ -88,7 +88,7 @@
     gint ret(TMS_RESULT_SUCCESS);
     if (this->iBody)
         {
-        ((TMSDTMFBodyImpl*) this->iBody)->SetParent(parent);
+        static_cast<TMSDTMFBodyImpl*>(this->iBody)->SetParent(parent);
         }
     else
         {