From: eap Date: Mon, 21 Jul 2008 10:02:25 +0000 (+0000) Subject: [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics X-Git-Tag: RELIQUAT_4x_25102008 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0c413d51880d89560e25d6f35255ed66851e940a;p=plugins%2Fghs3dplugin.git [SALOME platform 0019316]: Need to have a better interface with GHS3D diagnostics make the generic name unique at each Compute() call --- diff --git a/src/GHS3DPlugin_Hypothesis.cxx b/src/GHS3DPlugin_Hypothesis.cxx index 4137e18..525b3db 100644 --- a/src/GHS3DPlugin_Hypothesis.cxx +++ b/src/GHS3DPlugin_Hypothesis.cxx @@ -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(); }