From 51790b832229922ec4a1821ba75502cb445c2293 Mon Sep 17 00:00:00 2001 From: vridosh Date: Thu, 30 Nov 2006 14:45:49 +0000 Subject: ChangeLogTag: Thu Nov 30 14:48:57 UTC 2006 Vadym Ridosh --- TAO/tao/Bounded_Sequence_CDR_T.h | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'TAO/tao/Bounded_Sequence_CDR_T.h') diff --git a/TAO/tao/Bounded_Sequence_CDR_T.h b/TAO/tao/Bounded_Sequence_CDR_T.h index adfd7e1cea1..379410b5a22 100644 --- a/TAO/tao/Bounded_Sequence_CDR_T.h +++ b/TAO/tao/Bounded_Sequence_CDR_T.h @@ -12,7 +12,6 @@ */ #include "tao/orbconf.h" -#include "tao/SystemException.h" TAO_BEGIN_VERSIONED_NAMESPACE_DECL @@ -333,8 +332,6 @@ namespace TAO { namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -344,8 +341,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -355,8 +350,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -366,8 +359,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -377,8 +368,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -388,8 +377,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -400,8 +387,6 @@ namespace TAO { # if (defined (ACE_HAS_WCHAR) || defined (ACE_HAS_XPG4_MULTIBYTE_CHAR)) && !defined (ACE_LACKS_NATIVE_WCHAR_T) template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -412,8 +397,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -423,8 +406,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -434,8 +415,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -445,8 +424,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -456,8 +433,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -467,8 +442,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_value_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -483,8 +456,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_basic_string_sequence & source) { - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; @@ -500,8 +471,6 @@ namespace TAO { template bool marshal_sequence(stream & strm, const TAO::bounded_object_reference_sequence & source) { typedef typename TAO::bounded_object_reference_sequence::object_type object_type; - if (0 == &source) - ACE_THROW_RETURN (::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE), false); ::CORBA::ULong const length = source.length (); if (!(strm << length)) { return false; -- cgit v1.2.1