Salome HOME
debug of tests for DTM
[modules/hydro.git] / src / HYDROData / test_HYDROData_PolylineXY.cxx
index 23cf4a7619ad67b221d837ebb2a3697afc9d7185..99b61069f176803719f92e44a540f220e17fd2ff 100644 (file)
@@ -1,8 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015  EDF-R&D
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
@@ -70,7 +66,7 @@ void test_HYDROData_PolylineXY::testCopy()
   Handle(HYDROData_PolylineXY) aPolyline2 = 
     Handle(HYDROData_PolylineXY)::DownCast(aDoc->CreateObject(KIND_POLYLINEXY));
 
-  aPolyline1->CopyTo(aPolyline2);
+  aPolyline1->CopyTo(aPolyline2, true);
 
 
   aDoc->Close();