return;
_PTR(Study) aStudy = GetCStudy( GetAppStudy( theModule ) );
- _PTR(SObject) aSObject = aStudy->FindObjectID( thePrs->GetEntry() );
+ _PTR(SObject) aSObject = aStudy->FindObjectID( thePrs->GetEntry().latin1() );
if ( !theCreate && aSObject ){
// Remove old Table
if (CORBA::is_nil(aChildObj)) continue;
CORBA::Object_ptr aCurve = VISU::Curve::_narrow(aChildObj);
if (CORBA::is_nil(aCurve)) continue;
- VISU::Curve_i* pCurve = dynamic_cast<VISU::Curve_i*>(VISU::GetServant(aCurve).in());
+ //VISU::Curve_i* pCurve = dynamic_cast<VISU::Curve_i*>(VISU::GetServant(aCurve).in());
//jfa tmp:DeleteCurve(this, pCurve, NULL);
}
break;
// get name of SObject
if ( SO->FindAttribute( anAttr, "AttributeName" ) ) {
aName = anAttr;
- SOName = aName->Value();
+ SOName = QString( aName->Value().c_str() );
}
SPlot2d_SetupPlot2dDlg* dlg = new SPlot2d_SetupPlot2dDlg( SO, GetDesktop( this ) );
if ( dlg->exec() == QDialog::Accepted ) {
// get name of SObject
if ( SO->FindAttribute( anAttr, "AttributeName" ) ) {
aName = anAttr;
- SOName = aName->Value();
+ SOName = QString( aName->Value().c_str() );
}
SPlot2d_SetupPlot2dDlg* dlg = new SPlot2d_SetupPlot2dDlg( SO, GetDesktop( this ) );
if ( dlg->exec() == QDialog::Accepted ) {
_PTR(GenericAttribute) anAttr;
if (aSObj->FindAttribute(anAttr, "AttributeName")) {
_PTR(AttributeName) aName (anAttr);
- QString Name = VisuGUI_NameDlg::getName(GetDesktop(this), aName->Value());
+ QString Name = VisuGUI_NameDlg::getName( GetDesktop( this ), aName->Value().c_str() );
if (!Name.isEmpty()) {
QApplication::setOverrideCursor(Qt::waitCursor);