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