]> SALOME platform Git repositories - plugins/ghs3dplugin.git/commitdiff
Salome HOME
[SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics RELIQUAT_4x_25102008 V4_1_4a1
authoreap <eap@opencascade.com>
Mon, 21 Jul 2008 10:02:25 +0000 (10:02 +0000)
committereap <eap@opencascade.com>
Mon, 21 Jul 2008 10:02:25 +0000 (10:02 +0000)
    make the generic name unique at each Compute() call

src/GHS3DPlugin_Hypothesis.cxx

index 4137e18513bff5280f00fb7af069eb4fead5c5bb..525b3db93d03fb63f5efe1ef9a1c1bc65799b76f 100644 (file)
@@ -610,7 +610,7 @@ string GHS3DPlugin_Hypothesis::GetFileName(const GHS3DPlugin_Hypothesis* hyp)
   aGenericName += getpid();
 #endif
   aGenericName += "_";
-  aGenericName += Abs((Standard_Integer)(long) & aGenericName);
+  aGenericName += Abs((Standard_Integer)(long) aGenericName.ToCString());
 
   return aGenericName.ToCString();
 }