summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp
index e8f7e35a480..42a2f6a53f1 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Event_Loader.cpp
@@ -56,15 +56,12 @@ TAO_CEC_Event_Loader::init (int argc, ACE_TCHAR *argv[])
{
try
{
- // Copy command line parameter.
- ACE_Argv_Type_Converter command_line(argc, argv);
-
// ORB initialization boiler plate...
this->orb_=
- CORBA::ORB_init (command_line.get_argc(), command_line.get_ASCII_argv(), 0);
+ CORBA::ORB_init (argc, argv);
CORBA::Object_var obj =
- this->create_object (this->orb_.in (), command_line.get_argc(), command_line.get_TCHAR_argv());
+ this->create_object (this->orb_.in (), argc, argv);
if (CORBA::is_nil (obj.in() ))
return -1;