summaryrefslogtreecommitdiff
path: root/TAO/tao/IORInterceptor
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-06-30 13:45:17 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-06-30 13:45:17 +0000
commit7a8de0cd42e2b8073f8dcbff2b5867a3081f0490 (patch)
treef46feaa557f0503a3a6527911cde60c6c5215257 /TAO/tao/IORInterceptor
parent76a1801b3c6037cd7c0aa4bab74c61bd553cb556 (diff)
downloadATCD-7a8de0cd42e2b8073f8dcbff2b5867a3081f0490.tar.gz
ChangeLogTag: Thu Jun 30 13:42:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/IORInterceptor')
-rw-r--r--TAO/tao/IORInterceptor/IORInfoC.cpp26
-rw-r--r--TAO/tao/IORInterceptor/IORInterceptorC.cpp26
2 files changed, 14 insertions, 38 deletions
diff --git a/TAO/tao/IORInterceptor/IORInfoC.cpp b/TAO/tao/IORInterceptor/IORInfoC.cpp
index 59b0bd08115..584dcd8d6f1 100644
--- a/TAO/tao/IORInterceptor/IORInfoC.cpp
+++ b/TAO/tao/IORInterceptor/IORInfoC.cpp
@@ -39,7 +39,7 @@
#endif /* __BORLANDC__ */
// TAO_IDL - Generated from
-// be\be_visitor_arg_traits.cpp:69
+// be\be_visitor_arg_traits.cpp:70
// Arg traits specializations.
namespace TAO
@@ -112,15 +112,9 @@ PortableInterceptor::IORInfo::_narrow (
ACE_ENV_ARG_DECL_NOT_USED
)
{
- if (CORBA::is_nil (_tao_objref))
- {
- return IORInfo::_nil ();
- }
-
- IORInfo_ptr proxy =
- dynamic_cast<IORInfo_ptr> (_tao_objref);
-
- return IORInfo::_duplicate (proxy);
+ return IORInfo::_duplicate (
+ dynamic_cast<IORInfo_ptr> (_tao_objref)
+ );
}
PortableInterceptor::IORInfo_ptr
@@ -129,15 +123,9 @@ PortableInterceptor::IORInfo::_unchecked_narrow (
ACE_ENV_ARG_DECL_NOT_USED
)
{
- if (CORBA::is_nil (_tao_objref))
- {
- return IORInfo::_nil ();
- }
-
- IORInfo_ptr proxy =
- dynamic_cast<IORInfo_ptr> (_tao_objref);
-
- return IORInfo::_duplicate (proxy);
+ return IORInfo::_duplicate (
+ dynamic_cast<IORInfo_ptr> (_tao_objref)
+ );
}
PortableInterceptor::IORInfo_ptr
diff --git a/TAO/tao/IORInterceptor/IORInterceptorC.cpp b/TAO/tao/IORInterceptor/IORInterceptorC.cpp
index e66ab20c72a..0a657bf65a8 100644
--- a/TAO/tao/IORInterceptor/IORInterceptorC.cpp
+++ b/TAO/tao/IORInterceptor/IORInterceptorC.cpp
@@ -38,7 +38,7 @@
#endif /* __BORLANDC__ */
// TAO_IDL - Generated from
-// be\be_visitor_arg_traits.cpp:69
+// be\be_visitor_arg_traits.cpp:70
// Arg traits specializations.
namespace TAO
@@ -94,15 +94,9 @@ PortableInterceptor::IORInterceptor::_narrow (
ACE_ENV_ARG_DECL_NOT_USED
)
{
- if (CORBA::is_nil (_tao_objref))
- {
- return IORInterceptor::_nil ();
- }
-
- IORInterceptor_ptr proxy =
- dynamic_cast<IORInterceptor_ptr> (_tao_objref);
-
- return IORInterceptor::_duplicate (proxy);
+ return IORInterceptor::_duplicate (
+ dynamic_cast<IORInterceptor_ptr> (_tao_objref)
+ );
}
PortableInterceptor::IORInterceptor_ptr
@@ -111,15 +105,9 @@ PortableInterceptor::IORInterceptor::_unchecked_narrow (
ACE_ENV_ARG_DECL_NOT_USED
)
{
- if (CORBA::is_nil (_tao_objref))
- {
- return IORInterceptor::_nil ();
- }
-
- IORInterceptor_ptr proxy =
- dynamic_cast<IORInterceptor_ptr> (_tao_objref);
-
- return IORInterceptor::_duplicate (proxy);
+ return IORInterceptor::_duplicate (
+ dynamic_cast<IORInterceptor_ptr> (_tao_objref)
+ );
}
PortableInterceptor::IORInterceptor_ptr