]> SALOME platform Git repositories - plugins/netgenplugin.git/blobdiff - src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_2D_i.cxx
Salome HOME
updated copyright message
[plugins/netgenplugin.git] / src / NETGENPlugin / NETGENPlugin_SimpleHypothesis_2D_i.cxx
index 3725c9245abd1d3390f76a6f689f4219968958f9..7f90be1616a81b735087c9f3c2dff0984852fb12 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  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
@@ -71,7 +71,7 @@ NETGENPlugin_SimpleHypothesis_2D_i::~NETGENPlugin_SimpleHypothesis_2D_i()
  *  NETGENPlugin_SimpleHypothesis_2D_i::SetNumberOfSegments
  */
 //=============================================================================
-void NETGENPlugin_SimpleHypothesis_2D_i::SetNumberOfSegments(CORBA::Short nb)
+void NETGENPlugin_SimpleHypothesis_2D_i::SetNumberOfSegments(CORBA::Long nb)
 {
   ASSERT(myBaseImpl);
   try {
@@ -88,10 +88,10 @@ void NETGENPlugin_SimpleHypothesis_2D_i::SetNumberOfSegments(CORBA::Short nb)
  *  NETGENPlugin_SimpleHypothesis_2D_i::GetNumberOfSegments()
  */
 //=============================================================================
-CORBA::Short NETGENPlugin_SimpleHypothesis_2D_i::GetNumberOfSegments()
+CORBA::Long NETGENPlugin_SimpleHypothesis_2D_i::GetNumberOfSegments()
 {
   ASSERT(myBaseImpl);
-  return this->GetImpl()->GetNumberOfSegments();
+  return (CORBA::Long) this->GetImpl()->GetNumberOfSegments();
 }
 
 //================================================================================