X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomValidators%2FGeomValidators_BodyShapes.cpp;h=46af3b7ee0bd070aad187ec610c8f00170a51e12;hb=05c54697df5d6968704e869a4a21102a0477121f;hp=ff040cecb1c5e1965e47445620e8d830e2182605;hpb=1e2eaa713f139d2617c80eba9ede62d4e9976bb7;p=modules%2Fshaper.git diff --git a/src/GeomValidators/GeomValidators_BodyShapes.cpp b/src/GeomValidators/GeomValidators_BodyShapes.cpp index ff040cecb..46af3b7ee 100644 --- a/src/GeomValidators/GeomValidators_BodyShapes.cpp +++ b/src/GeomValidators/GeomValidators_BodyShapes.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2020 CEA/DEN, 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 @@ -12,10 +12,9 @@ // // 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 +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #include "GeomValidators_BodyShapes.h" @@ -66,7 +65,7 @@ bool GeomValidators_BodyShapes::isValid(const AttributePtr& theAttribute, break; } if (aIt == aResList.cend()) { - theError = "Error: Feature doesn't creates body."; + theError = "Error: Feature doesn't create body."; return false; } } @@ -82,9 +81,11 @@ bool GeomValidators_BodyShapes::isValid(const AttributePtr& theAttribute, } } } else { +// LCOV_EXCL_START theError = "Error: Attribute \"%1\" does not supported by this validator."; theError.arg(anAttributeType); return false; +// LCOV_EXCL_STOP } return true;