Salome HOME
Merge branch 'V9_9_BR'
[modules/smesh.git] / src / StdMeshers / StdMeshers_LayerDistribution.cxx
index 8a12ac3d2e3abaa5f9a37a4d6c64a13c8bb497bd..9d6ea2983498b2e4dee25a2fa45506489b32c79f 100644 (file)
@@ -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
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -69,7 +69,6 @@ StdMeshers_LayerDistribution::~StdMeshers_LayerDistribution()
 //=============================================================================
 
 void StdMeshers_LayerDistribution::SetLayerDistribution(SMESH_Hypothesis* hyp1D)
-  throw ( SALOME_Exception )
 {
   if ( myHyp != hyp1D ) {
     if ( myHyp && hyp1D->GetDim() != 1 )
@@ -94,6 +93,7 @@ void StdMeshers_LayerDistribution::SetLayerDistribution(SMESH_Hypothesis* hyp1D)
 
 ostream & StdMeshers_LayerDistribution::SaveTo(ostream & save)
 {
+  save << "StdMeshers_LayerDistribution"; // just to enable "Edit" in pop-up menu
   return save;
 }