]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/XAOPlugin/XAOPlugin_ImportDlg.cxx
Salome HOME
Avoid installing redundant files
[modules/geom.git] / src / XAOPlugin / XAOPlugin_ImportDlg.cxx
index 398c670b6645a19e8b46f7c5202068c8b1fb2ab9..a04b6d675f703ae38e9903e9c671165338fc3ed0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2021  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
@@ -242,7 +242,7 @@ GEOM::GEOM_IOperations_ptr XAOPlugin_ImportDlg::createOperation()
 // function : isValid
 // purpose  :
 //=================================================================================
-bool XAOPlugin_ImportDlg::isValid(QString& msg)
+bool XAOPlugin_ImportDlg::isValid(QString& /*msg*/)
 {
   // check file name
   if (ledFileName->text().isEmpty())
@@ -332,7 +332,7 @@ QString XAOPlugin_ImportDlg::addFieldInStudy( GEOM::GEOM_Field_ptr theField, GEO
     GEOM::GEOM_FieldStep_ptr step = theField->GetStep(steps[i]);
     QString stepName = (tr("XAOPLUGIN_STEP") + " %1 %2").arg( step->GetID() ).arg( step->GetStamp() );
     SALOMEDS::SObject_wrap aSOField =
-      getGeomEngine()->AddInStudy( step, stepName.toLatin1().constData(), theField );
+      getGeomEngine()->AddInStudy( step, stepName.toUtf8().constData(), theField );
     step->UnRegister();
   }