Salome HOME
liste de passage des cas à jour
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_Arithmetic1D_i.cxx
index 2c7d0198960b9e1e839b03cf8e06034784fc883f..88e0d8160b16a6ec4f1675cea67e0ebeab7aba49 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -77,7 +77,6 @@ StdMeshers_Arithmetic1D_i::~StdMeshers_Arithmetic1D_i()
 
 void StdMeshers_Arithmetic1D_i::SetLength(CORBA::Double theLength,
                                           CORBA::Boolean theIsStart )
-     throw ( SALOME::SALOME_Exception )
 {
   ASSERT( myBaseImpl );
   try {
@@ -101,7 +100,6 @@ void StdMeshers_Arithmetic1D_i::SetLength(CORBA::Double theLength,
 //=============================================================================
 
 void StdMeshers_Arithmetic1D_i::SetStartLength( CORBA::Double length)
-  throw (SALOME::SALOME_Exception)
 {
   SetLength( length, true );
 }
@@ -113,7 +111,6 @@ void StdMeshers_Arithmetic1D_i::SetStartLength( CORBA::Double length)
 //=============================================================================
 
 void StdMeshers_Arithmetic1D_i::SetEndLength( CORBA::Double length)
-  throw (SALOME::SALOME_Exception)
 {
   SetLength( length, false );
 }
@@ -166,7 +163,7 @@ CORBA::Boolean StdMeshers_Arithmetic1D_i::IsDimSupported( SMESH::Dimension type
 //================================================================================
 
 std::string StdMeshers_Arithmetic1D_i::getMethodOfParameter(const int paramIndex,
-                                                            int       nbVars) const
+                                                            int       /*nbVars*/) const
 {
   return paramIndex == 0 ? "SetStartLength" : "SetEndLength";
 }