-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
// function : ValueChangedInSpinBox()
// purpose :
//=================================================================================
-void BuildGUI_EdgeDlg::ValueChangedInSpinBox(double newValue)
+void BuildGUI_EdgeDlg::ValueChangedInSpinBox(double /*newValue*/)
{
displayPreview(true);
}
//=================================================================================
GEOM::GEOM_IOperations_ptr BuildGUI_EdgeDlg::createOperation()
{
- return getGeomEngine()->GetIShapesOperations(getStudyId());
+ return getGeomEngine()->GetIShapesOperations();
}
//=================================================================================
anObj = anOper->MakeEdgeWire(myWire.get(), aLinearTolerance, anAngularTolerance);
if (!anObj->_is_nil() && !IsPreview())
- anObj->SetParameters(aParameters.join(":").toLatin1().constData());
+ anObj->SetParameters(aParameters.join(":").toUtf8().constData());
res = true;
break;
anObj = anOper->MakeEdgeOnCurveByLength(myCurve.get(), aLength, myStartPoint.get());
if (!anObj->_is_nil() && !IsPreview())
- anObj->SetParameters(GroupOnCurve->SpinBox_DX->text().toLatin1().constData());
+ anObj->SetParameters(GroupOnCurve->SpinBox_DX->text().toUtf8().constData());
res = true;
break;