mmserv/tms/tmsimpl/src/tmsg729impl.cpp
branchRCL_3
changeset 13 f5c5c82a163e
parent 10 3d8c721bf319
child 18 2eb3b066cc7d
--- a/mmserv/tms/tmsimpl/src/tmsg729impl.cpp	Wed Apr 14 16:29:54 2010 +0300
+++ b/mmserv/tms/tmsimpl/src/tmsg729impl.cpp	Tue Apr 27 17:11:02 2010 +0300
@@ -43,7 +43,7 @@
     if (ret == TMS_RESULT_SUCCESS)
         {
         this->iBody = bodyimpl;
-        this->iFormatBody = (TMSG729FormatBodyImpl*) bodyimpl;
+        this->iFormatBody = static_cast<TMSG729FormatBodyImpl*>(bodyimpl);
         }
     TRACE_PRN_FN_EXT;
     return ret;
@@ -75,7 +75,8 @@
     gint ret(TMS_RESULT_SUCCESS);
     if (this->iBody)
         {
-        ((TMSG729FormatBodyImpl*) this->iBody)->SetProxy(context, queuehandler);
+        static_cast<TMSG729FormatBodyImpl*>(this->iBody)->SetProxy(context,
+                queuehandler);
         }
     else
         {