]> SALOME platform Git repositories - modules/superv.git/blobdiff - src/Supervision/SuperV_Impl.cxx
Salome HOME
NRI : Merge from 1.2c.
[modules/superv.git] / src / Supervision / SuperV_Impl.cxx
index 2c13d2eec453261ca7214e869a3c75cbb0f5a430..9f428951c8b14d8eaebaf106e5cbecb45d64498f 100644 (file)
@@ -32,12 +32,12 @@ using namespace std;
 #include <sys/stat.h>
 
 #include <fstream>
-#include <strstream>
+//#include <sstream>
 #include <string>
 
 #include "Python.h"
 
-#include "utilities.h"
+//#include "utilities.h"
 
 #include "SALOME_Container_i.hxx"
 
@@ -455,6 +455,9 @@ SUPERV::Value_ptr SuperV_Impl::StringValue( const char * aStrIOR ) {
   }
   catch ( CORBA::BAD_PARAM ) {
 
+// JR : objref or string only ==> the eventual convertion to long or double is done in
+//      the SuperVisionEngine with the real type of the argument
+#if 0
     long l;
     double d;
     if ( strchr( aStrIOR , '.' ) != NULL &&
@@ -469,9 +472,12 @@ SUPERV::Value_ptr SuperV_Impl::StringValue( const char * aStrIOR ) {
 //    return(anAny);
     }
     else {
+#endif
       *anAny <<=  aStrIOR ;
 //        MESSAGE( "Value( " << aStrIOR << " ) --> string " << aStrIOR );
+#if 0
     }
+#endif
   }
 
 //  endService( "SuperV_Impl::StringValue" );