diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-05-11 14:32:50 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-05-11 14:32:50 +0000 |
commit | 19c76647a783b5562a5f14ff779dffb6e0709925 (patch) | |
tree | 14f4acb2040f9a6cb569560db942869bf4ef79be /TAO/interop-tests | |
parent | 5b73aabe1e32cedf2ce8734b0380669c97e353bd (diff) | |
download | ATCD-19c76647a783b5562a5f14ff779dffb6e0709925.tar.gz |
Fri May 11 14:32:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/interop-tests')
-rw-r--r-- | TAO/interop-tests/wchar/client.cpp | 3 | ||||
-rw-r--r-- | TAO/interop-tests/wchar/server.cpp | 12 |
2 files changed, 5 insertions, 10 deletions
diff --git a/TAO/interop-tests/wchar/client.cpp b/TAO/interop-tests/wchar/client.cpp index 04b5ca47d56..4a5f9a7c678 100644 --- a/TAO/interop-tests/wchar/client.cpp +++ b/TAO/interop-tests/wchar/client.cpp @@ -212,8 +212,7 @@ run_one_test (interop::WChar_Passer_ptr server, return server->wstructseq_to_server(wsList.in(), data_set); } case NUL_WSTRING_TO_SERVER: - return server->wstring_to_server (L"", - -1); + return server->wstring_to_server (L"", -1); default: break; } diff --git a/TAO/interop-tests/wchar/server.cpp b/TAO/interop-tests/wchar/server.cpp index 0ba8e111404..cb325b47325 100644 --- a/TAO/interop-tests/wchar/server.cpp +++ b/TAO/interop-tests/wchar/server.cpp @@ -87,12 +87,10 @@ ACE_TMAIN( int argc, ACE_TCHAR *argv[] ) //Get reference to Root POA CORBA::Object_var obj = - orb->resolve_initial_references( "RootPOA" - ); + orb->resolve_initial_references( "RootPOA"); PortableServer::POA_var poa = - PortableServer::POA::_narrow( obj.in() - ); + PortableServer::POA::_narrow( obj.in()); PortableServer::POAManager_var mgr = poa->the_POAManager( ); @@ -105,12 +103,10 @@ ACE_TMAIN( int argc, ACE_TCHAR *argv[] ) // Register the servant with the RootPOA, obtain its object // reference, stringify it, and write it to a file. - obj = poa->servant_to_reference( &servant - ); + obj = poa->servant_to_reference(&servant); CORBA::String_var str = - orb->object_to_string( obj.in() - ); + orb->object_to_string( obj.in()); FILE *output_file = ACE_OS::fopen (ior_output_file, ACE_TEXT("w")); if (output_file == 0) |