]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/OBJECT/SMESH_ActorUtils.cxx
Salome HOME
Feature 0017291: EDF 591 SMESH : Visualization of the orientation of the normal vecto...
[modules/smesh.git] / src / OBJECT / SMESH_ActorUtils.cxx
index e498c2f722bd26300b24d1c3c5d5976873b23417..946a93df908f2f6af9ae0894f7bf14182bd118d2 100644 (file)
@@ -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;
   }