summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-14 20:54:29 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-05-14 20:54:29 +0000
commit0e293debb5d98ec8de4df30c756afce04498a68f (patch)
tree578b6f56b8b9a487a40b0ef796ce305348df05e1
parent24f3d7d5671541e6c33e0f52e15d8c08f34c05c3 (diff)
downloadATCD-0e293debb5d98ec8de4df30c756afce04498a68f.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp
index 55d8c7f20a9..c7a14d984a8 100644
--- a/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp
@@ -22,8 +22,9 @@ CosProperty_Hash_Key::CosProperty_Hash_Key (void)
}
CosProperty_Hash_Key::CosProperty_Hash_Key (const char * &name)
+ pname_ = CORBA::string_dup (name)
{
- pname_ = CORBA::string_dup (name);
+
}
CosProperty_Hash_Key::CosProperty_Hash_Key (const CosPropertyService::PropertyName &name)
@@ -778,7 +779,8 @@ TAO_PropertySet::get_all_property_names (CORBA::ULong how_many,
ni < sequence_length;
ni++, iterator.advance ())
if (iterator.next (entry_ptr) != 0)
- property_names [ni] = CORBA::string_dup (entry_ptr->ext_id_.pname_);
+ property_names [ni] =
+ CORBA::string_dup (entry_ptr->ext_id_.pname_.in ());
// If there are some more properties, put them in the
// iterator. How?? Make a new PropertSet and use that to create
@@ -942,7 +944,7 @@ TAO_PropertySet::get_all_properties (CORBA::ULong how_many,
if (iterator.next (entry_ptr) != 0)
{
nproperties[i].property_name =
- CORBA::string_dup (entry_ptr->ext_id_.pname_);
+ CORBA::string_dup (entry_ptr->ext_id_.pname_.in ());
nproperties[i].property_value =
entry_ptr->int_id_.pvalue_.in ();
}
@@ -1786,7 +1788,7 @@ TAO_PropertyNamesIterator::next_one (CORBA::String_out property_name,
if (this->iterator_.next (entry_ptr) != 0)
{
property_name =
- entry_ptr->ext_id_.pname_.in ();
+ CORBA::string_dup (entry_ptr->ext_id_.pname_.in ());
this->iterator_.advance ();
return CORBA::B_TRUE;
}
@@ -1819,7 +1821,8 @@ TAO_PropertyNamesIterator::next_n (CORBA::ULong how_many,
ni < property_names->length ();
ni++, this->iterator_.advance ())
if (this->iterator_.next (entry_ptr) != 0)
- property_names [ni] = CORBA::string_dup (entry_ptr->ext_id_.pname_);
+ property_names [ni] =
+ CORBA::string_dup (entry_ptr->ext_id_.pname_.in ());
return CORBA::B_TRUE;
}