if (isTOR) {
_PTR(AttributeTableOfReal) aTabAttr (anAttr);
if (!aTabAttr) return;
- aTitle = aTabAttr->GetTitle();
+ aTitle = aTabAttr->GetTitle().c_str();
} else {
_PTR(AttributeTableOfInteger) aTabAttr (anAttr);
if (!aTabAttr) return;
- aTitle = aTabAttr->GetTitle();
+ aTitle = aTabAttr->GetTitle().c_str();
}
aTitle.simplifyWhiteSpace();
aTitle = aTitle.replace(QRegExp(" "), "_");
CurveStruct aEntry;
aEntry.TableName = getSObjectName(aTableSO);
aEntry.CurveName = getSObjectName(aSObject);
- aEntry.CurveEntry = aSObject->GetID();
+ aEntry.CurveEntry = aSObject->GetID().c_str();
aStudyCurves.append(aEntry);
}
}
_PTR(Study) aStudy = VISU::GetCStudy(VISU::GetAppStudy(myVisuGUI));
QListViewItem* anItem = myContainerLst->firstChild();
while (anItem) {
- _PTR(SObject) aCurveSO = aStudy->FindObjectID(anItem->text(2));
+ _PTR(SObject) aCurveSO = aStudy->FindObjectID(anItem->text(2).latin1());
if (aCurveSO) {
CORBA::Object_var aObject = VISU::ClientSObjectToObject(aCurveSO);
if (!CORBA::is_nil(aObject)) {
_PTR(GenericAttribute) anAttr;
if (theSObject->FindAttribute(anAttr, "AttributeName")) {
_PTR(AttributeName) aName (anAttr);
- return QString(aName->Value());
+ return QString(aName->Value().c_str());
}
return QString("");
}