X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2Ftest_HYDROData_PolylineXY.cxx;h=99b61069f176803719f92e44a540f220e17fd2ff;hb=d398a8be8e0b0259b476b358d53d234ce4c82379;hp=7218703389618bd3380f542711a7293f7c2e8427;hpb=d84fadb6fba0d9ef3926995eab878175cc24e291;p=modules%2Fhydro.git diff --git a/src/HYDROData/test_HYDROData_PolylineXY.cxx b/src/HYDROData/test_HYDROData_PolylineXY.cxx index 72187033..99b61069 100644 --- a/src/HYDROData/test_HYDROData_PolylineXY.cxx +++ b/src/HYDROData/test_HYDROData_PolylineXY.cxx @@ -1,3 +1,21 @@ +// 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 +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// + #include #include @@ -48,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();