X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOBJECT%2FSMESH_ActorUtils.cxx;h=946a93df908f2f6af9ae0894f7bf14182bd118d2;hb=376d3f226c11ba3024b43f67c4b356912358f8e7;hp=127f25a9eb267db0730a41fe40dd28a2a59a69d0;hpb=57b43b4d010e2d0a1529d3c131bbb9d416e63258;p=modules%2Fsmesh.git diff --git a/src/OBJECT/SMESH_ActorUtils.cxx b/src/OBJECT/SMESH_ActorUtils.cxx index 127f25a9e..946a93df9 100644 --- a/src/OBJECT/SMESH_ActorUtils.cxx +++ b/src/OBJECT/SMESH_ActorUtils.cxx @@ -15,7 +15,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com #include "SMESH_ActorUtils.h" @@ -42,7 +42,7 @@ namespace SMESH GetFloat( const QString& theValue, vtkFloatingPointType theDefault ) { - int pos = theValue.find( ":" ); + int pos = theValue.indexOf( ":" ); vtkFloatingPointType val = theDefault; if( pos>=0 ) { @@ -62,7 +62,7 @@ namespace SMESH vtkFloatingPointType val = theDefault; SUIT_ResourceMgr* mgr = SUIT_Session::session()->resourceMgr(); if( mgr ) - val = (vtkFloatingPointType) mgr->doubleValue( theValue, theSection, theDefault ); + val = (vtkFloatingPointType) mgr->doubleValue( theSection, theValue, theDefault ); return val; }