From: Nicolas RECHATIN Date: Wed, 16 Jun 2021 13:00:55 +0000 (+0200) Subject: Intégration : X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb5d9e236af6245e596de733c9c0224effd63602;p=modules%2Fshaper.git Intégration : + Lint and code norm --- diff --git a/src/FeaturesAPI/FeaturesAPI_NormalToFace.cpp b/src/FeaturesAPI/FeaturesAPI_NormalToFace.cpp index 8cbf7bf9e..42a7b608d 100644 --- a/src/FeaturesAPI/FeaturesAPI_NormalToFace.cpp +++ b/src/FeaturesAPI/FeaturesAPI_NormalToFace.cpp @@ -77,7 +77,7 @@ void FeaturesAPI_NormalToFace::dump(ModelHighAPI_Dumper& theDumper) const theDumper << aBase << " = model.getNormal(" << aDocName << ", " << anAttrObject; - if (!aBase->string(FeaturesPlugin_CreateNormalToFace::VERTEX_OPTION_ID())->value().empty()){ + if (!aBase->string(FeaturesPlugin_CreateNormalToFace::VERTEX_OPTION_ID())->value().empty()) { AttributeSelectionPtr anAttrVertex = aBase->selection(FeaturesPlugin_CreateNormalToFace::VERTEX_SELECTED_ID()); diff --git a/src/FeaturesPlugin/FeaturesPlugin_CreateNormalToFace.cpp b/src/FeaturesPlugin/FeaturesPlugin_CreateNormalToFace.cpp index f0b944b53..50282923a 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_CreateNormalToFace.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_CreateNormalToFace.cpp @@ -37,9 +37,7 @@ #include //================================================================================================= -FeaturesPlugin_CreateNormalToFace::FeaturesPlugin_CreateNormalToFace() -{ -} +FeaturesPlugin_CreateNormalToFace::FeaturesPlugin_CreateNormalToFace() {} //================================================================================================= void FeaturesPlugin_CreateNormalToFace::initAttributes() @@ -51,7 +49,6 @@ void FeaturesPlugin_CreateNormalToFace::initAttributes() data()->addAttribute(VERTEX_OPTION_ID(), ModelAPI_AttributeString::typeId()); ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), VERTEX_SELECTED_ID()); - } //================================================================================================= @@ -107,8 +104,6 @@ void FeaturesPlugin_CreateNormalToFace::execute() } //================================================================================================= -void FeaturesPlugin_CreateNormalToFace::attributeChanged(const std::string& theID) -{ -} +void FeaturesPlugin_CreateNormalToFace::attributeChanged(const std::string& theID) {} diff --git a/src/FeaturesPlugin/FeaturesPlugin_NormalToFace.cpp b/src/FeaturesPlugin/FeaturesPlugin_NormalToFace.cpp index 853c26c1d..63e6db11c 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_NormalToFace.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_NormalToFace.cpp @@ -42,9 +42,7 @@ #include //================================================================================================= -FeaturesPlugin_NormalToFace::FeaturesPlugin_NormalToFace() -{ -} +FeaturesPlugin_NormalToFace::FeaturesPlugin_NormalToFace() {} //================================================================================================= void FeaturesPlugin_NormalToFace::initAttributes()