X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers_I%2FStdMeshers_Arithmetic1D_i.cxx;h=0f0d988871e65b4201fcbd3a08df9afee1d19647;hb=HEAD;hp=2c7d0198960b9e1e839b03cf8e06034784fc883f;hpb=6d32f944a0a115b6419184c50b57bf7c4eef5786;p=modules%2Fsmesh.git diff --git a/src/StdMeshers_I/StdMeshers_Arithmetic1D_i.cxx b/src/StdMeshers_I/StdMeshers_Arithmetic1D_i.cxx index 2c7d01989..3c868860c 100644 --- a/src/StdMeshers_I/StdMeshers_Arithmetic1D_i.cxx +++ b/src/StdMeshers_I/StdMeshers_Arithmetic1D_i.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 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 @@ -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"; }