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