Salome HOME
refs #767: minor corrections of the dump format
[modules/hydro.git] / src / HYDROData / HYDROData_Polyline3D.cxx
index 7067348006ac05e783f19761fffc906d62532084..b4f5366295940a5112e97a8c988eb77952f4ddbb 100644 (file)
@@ -85,7 +85,7 @@ QStringList HYDROData_Polyline3D::DumpToPython( const QString& thePyScriptPath,
       QString aProfileName = aProfile->GetObjPyName();
       if ( !aProfileName.isEmpty() )
       {
-        aResList << QString( "%1.SetProfileUZ( %2.GetProfileUZ() );" )
+        aResList << QString( "%1.SetProfileUZ( %2.GetProfileUZ() )" )
                      .arg( aPolylineName ).arg( aProfileName );
       }
     }
@@ -105,7 +105,7 @@ QStringList HYDROData_Polyline3D::DumpToPython( const QString& thePyScriptPath,
           QString aProfileName = aProfile->GetObjPyName();
           if ( !aProfileName.isEmpty() )
           {
-            aResList << QString( "%1.SetChildProfileUZ( %2.GetProfileUZ() );" )
+            aResList << QString( "%1.SetChildProfileUZ( %2.GetProfileUZ() )" )
                          .arg( aPolylineName ).arg( aProfileName );
           }
         }
@@ -116,7 +116,7 @@ QStringList HYDROData_Polyline3D::DumpToPython( const QString& thePyScriptPath,
   }
 
   aResList << QString( "" );
-  aResList << QString( "%1.Update();" ).arg( aPolylineName );
+  aResList << QString( "%1.Update()" ).arg( aPolylineName );
   aResList << QString( "" );
 
   return aResList;