Salome HOME
Dump to python corrected.
[modules/hydro.git] / src / HYDROData / HYDROData_ProfileUZ.cxx
index 492252980a9bd71df7508e7ec6afb975c724ebaa..8247cba5c64255dacdfc4933be416e3362ca48df 100755 (executable)
@@ -31,7 +31,7 @@ HYDROData_ProfileUZ::~HYDROData_ProfileUZ()
 QStringList HYDROData_ProfileUZ::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
 {
   QStringList aResList = dumpObjectCreation( theTreatedObjects );
-  QString aName = GetName();
+  QString aName = GetObjPyName();
 
   // Set polilyne data
   const TCollection_AsciiString& aSectName = GetSectionName( 0 );