else {
SALOMEDS::StringSeq_var aSeq = new SALOMEDS::StringSeq();
aSeq->length(aLength);
- for (i = 0; i < aLength; i++) aSeq[i] = (char*)theTitles[i].c_str();
+ for (i = 0; i < aLength; i++) aSeq[i] = theTitles[i].c_str();
SALOMEDS::AttributeTableOfReal::_narrow(_corba_impl)->SetRowTitles(aSeq);
}
}
else {
SALOMEDS::StringSeq_var aSeq = new SALOMEDS::StringSeq();
aSeq->length(aLength);
- for (i = 0; i < aLength; i++) aSeq[i] = (char*)theTitles[i].c_str();
+ for (i = 0; i < aLength; i++) aSeq[i] = theTitles[i].c_str();
SALOMEDS::AttributeTableOfReal::_narrow(_corba_impl)->SetColumnTitles(aSeq);
}
}
else {
SALOMEDS::StringSeq_var aSeq = new SALOMEDS::StringSeq();
aSeq->length(aLength);
- for (i = 0; i < aLength; i++) aSeq[i] = (char*)theUnits[i].c_str();
+ for (i = 0; i < aLength; i++) aSeq[i] = theUnits[i].c_str();
SALOMEDS::AttributeTableOfReal::_narrow(_corba_impl)->SetRowUnits(aSeq);
}
}
else {
SALOMEDS::StringSeq_var aSeq = new SALOMEDS::StringSeq();
aSeq->length(aLength);
- for (i = 0; i < aLength; i++) aSeq[i] = (char*)theTitles[i].c_str();
+ for (i = 0; i < aLength; i++) aSeq[i] = theTitles[i].c_str();
SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->SetRowTitles(aSeq);
}
}
else {
SALOMEDS::StringSeq_var aSeq = new SALOMEDS::StringSeq();
aSeq->length(aLength);
- for (i = 0; i < aLength; i++) aSeq[i] = (char*)theTitles[i].c_str();
+ for (i = 0; i < aLength; i++) aSeq[i] = theTitles[i].c_str();
SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->SetColumnTitles(aSeq);
}
}
else {
SALOMEDS::StringSeq_var aSeq = new SALOMEDS::StringSeq();
aSeq->length(aLength);
- for (i = 0; i < aLength; i++) aSeq[i] = (char*)theUnits[i].c_str();
+ for (i = 0; i < aLength; i++) aSeq[i] = theUnits[i].c_str();
SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->SetRowUnits(aSeq);
}
}
else {
SALOMEDS::StringSeq_var aSeq = new SALOMEDS::StringSeq();
aSeq->length(aLength);
- for (i = 0; i < aLength; i++) aSeq[i] = (char*)theData[i].c_str();
+ for (i = 0; i < aLength; i++) aSeq[i] = theData[i].c_str();
SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->AddRow(aSeq);
}
}
else {
SALOMEDS::StringSeq_var aSeq = new SALOMEDS::StringSeq();
aSeq->length(aLength);
- for (i = 0; i < aLength; i++) aSeq[i] = (char*)theData[i].c_str();
+ for (i = 0; i < aLength; i++) aSeq[i] = theData[i].c_str();
SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->SetRow(theRow, aSeq);
}
}
else {
SALOMEDS::StringSeq_var aColumn = new SALOMEDS::StringSeq();
aColumn->length(aLength);
- for (i = 0; i < aLength; i++) aColumn[i] = (char*)theData[i].c_str();
+ for (i = 0; i < aLength; i++) aColumn[i] = theData[i].c_str();
SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->AddColumn(aColumn);
}
}
else {
SALOMEDS::StringSeq_var aColumn = new SALOMEDS::StringSeq();
aColumn->length(aLength);
- for (i = 0; i < aLength; i++) aColumn[i] = (char*)theData[i].c_str();
+ for (i = 0; i < aLength; i++) aColumn[i] = theData[i].c_str();
SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->SetColumn(theColumn, aColumn);
}
}