Salome HOME
bos #26432 Additional changes
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_MaxElementArea_i.cxx
index 017c33bb071eadbdfdccd70501866a92c4e8c12d..2770e31cef9bb3c926751709b982f31c17cc9bc1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  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
@@ -20,7 +20,7 @@
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
-//  SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
+//  SMESH SMESH_I : idl implementation based on 'SMESH' unit's classes
 //  File   : StdMeshers_MaxElementArea_i.cxx
 //           Moved here from SMESH_MaxElementArea_i.cxx
 //  Author : Paul RASCLE, EDF
@@ -47,14 +47,12 @@ using namespace std;
 //=============================================================================
 
 StdMeshers_MaxElementArea_i::StdMeshers_MaxElementArea_i( PortableServer::POA_ptr thePOA,
-                                                int                     theStudyId,
-                                                ::SMESH_Gen*            theGenImpl )
+                                                          ::SMESH_Gen*            theGenImpl )
      : SALOME::GenericObj_i( thePOA ), 
        SMESH_Hypothesis_i( thePOA ) 
 {
   myBaseImpl = new ::StdMeshers_MaxElementArea( theGenImpl->GetANewId(),
-                                           theStudyId,
-                                           theGenImpl );
+                                                theGenImpl );
 }
 
 //=============================================================================
@@ -78,7 +76,6 @@ StdMeshers_MaxElementArea_i::~StdMeshers_MaxElementArea_i()
 //=============================================================================
 
 void StdMeshers_MaxElementArea_i::SetMaxElementArea( CORBA::Double theArea )
-     throw ( SALOME::SALOME_Exception )
 {
   ASSERT( myBaseImpl );
   try {
@@ -140,7 +137,7 @@ CORBA::Boolean StdMeshers_MaxElementArea_i::IsDimSupported( SMESH::Dimension typ
  */
 //================================================================================
 
-std::string StdMeshers_MaxElementArea_i::getMethodOfParameter(const int paramIndex,
+std::string StdMeshers_MaxElementArea_i::getMethodOfParameter(const int /*paramIndex*/,
                                                               int       /*nbVars*/) const
 {
   return "SetMaxElementArea";