From 15664b969a364f0d2e0dae538c036c74e60b5a8f Mon Sep 17 00:00:00 2001 From: bala Date: Sun, 25 Jan 2004 16:26:35 +0000 Subject: ChangeLogTag:Sun Jan 25 10:25:07 2004 Balachandran Natarajan --- TAO/orbsvcs/examples/ORT/Object_Factory_i.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/TAO/orbsvcs/examples/ORT/Object_Factory_i.cpp b/TAO/orbsvcs/examples/ORT/Object_Factory_i.cpp index 3a37e2f0116..afb2783d8af 100644 --- a/TAO/orbsvcs/examples/ORT/Object_Factory_i.cpp +++ b/TAO/orbsvcs/examples/ORT/Object_Factory_i.cpp @@ -30,16 +30,14 @@ Object_Factory_i::create_object (const char *interface_repository_id, ACE_reinterpret_cast (const PortableInterceptor::ObjectId *, &id.in ()); - TAO_POA *poa = ACE_dynamic_cast (TAO_POA *, - this->gateway_poa_); + TAO_POA *poa = dynamic_cast (this->gateway_poa_); ACE_CHECK_RETURN (CORBA::Object::_nil ()); PortableInterceptor::ObjectReferenceTemplate *ort_template = poa->get_adapter_template(); TAO_ObjectReferenceTemplate *ort = - ACE_dynamic_cast (TAO_ObjectReferenceTemplate *, - ort_template); + dynamic_cast (ort_template); CORBA::Object_ptr object_ptr = ort->make_object (interface_repository_id, -- cgit v1.2.1