// 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"
GetFloat( const QString& theValue,
vtkFloatingPointType theDefault )
{
- int pos = theValue.find( ":" );
+ int pos = theValue.indexOf( ":" );
vtkFloatingPointType val = theDefault;
if( pos>=0 )
{
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;
}