Salome HOME
[bos #33060] EDF 26527 - remove extra-edges doesn't work
[modules/geom.git] / src / PrimitiveGUI / PrimitiveGUI_FaceDlg.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 004692a..cc28eb6
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -196,7 +196,7 @@ void PrimitiveGUI_FaceDlg::SetDoubleSpinBoxStep( double step )
 // function : ValueChangedInSpinBox()
 // purpose  :
 //=================================================================================
-void PrimitiveGUI_FaceDlg::ValueChangedInSpinBox( double newValue )
+void PrimitiveGUI_FaceDlg::ValueChangedInSpinBox( double /*newValue*/ )
 {
   displayPreview(true);
 }
@@ -453,7 +453,7 @@ bool PrimitiveGUI_FaceDlg::execute (ObjectList& objects)
     {
       aParameters << GroupDimensions->SpinBox_DX->text();
       aParameters << GroupDimensions->SpinBox_DY->text();
-      anObj->SetParameters(aParameters.join(":").toLatin1().constData());
+      anObj->SetParameters(aParameters.join(":").toUtf8().constData());
     }
     res = true;
     break;
@@ -465,7 +465,7 @@ bool PrimitiveGUI_FaceDlg::execute (ObjectList& objects)
     {
       aParameters << GroupPlane->SpinBox_DX->text();
       aParameters << GroupPlane->SpinBox_DY->text();
-      anObj->SetParameters(aParameters.join(":").toLatin1().constData());
+      anObj->SetParameters(aParameters.join(":").toUtf8().constData());
     }
     res = true;
     break;