From: mpv Date: Fri, 17 Aug 2018 13:41:37 +0000 (+0300) Subject: Lines > 100 symbols length correction X-Git-Tag: SHAPER_V9_1_0RC1~65 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4f90762f3c8bf4e5e29e70d35028ac7a5b7c6d20;p=modules%2Fshaper.git Lines > 100 symbols length correction --- diff --git a/src/GeomAPI/GeomAPI_Cone.h b/src/GeomAPI/GeomAPI_Cone.h index 59e24956c..bfc901deb 100644 --- a/src/GeomAPI/GeomAPI_Cone.h +++ b/src/GeomAPI/GeomAPI_Cone.h @@ -45,7 +45,8 @@ public: const double theSemiAngle, const double theRadius); - /// Creating of cone by location of reference circle, axis, semi-angle and radii of boundary circles + /// Creating of cone by location of reference circle, axis, semi-angle and + /// radii of boundary circles GEOMAPI_EXPORT GeomAPI_Cone(const std::shared_ptr& theLocation, const std::shared_ptr& theAxis, const double theSemiAngle, diff --git a/src/Model/Model_Data.cpp b/src/Model/Model_Data.cpp index 74f19ec71..d7d14ad8c 100644 --- a/src/Model/Model_Data.cpp +++ b/src/Model/Model_Data.cpp @@ -545,7 +545,8 @@ void Model_Data::updateConcealmentFlag() if (aFeature.get() && !aFeature->isDisabled() && aFeature->isStable()) { if (ModelAPI_Session::get()->validators()->isConcealed( aFeature->getKind(), (*aRefsIter)->id())) { - std::shared_ptr aRes = std::dynamic_pointer_cast(myObject); + std::shared_ptr aRes = + std::dynamic_pointer_cast(myObject); if (aRes.get()) { aRes->setIsConcealed(true); // set concealed return; diff --git a/src/Model/Model_Objects.cpp b/src/Model/Model_Objects.cpp index 4c44977c4..21120233e 100644 --- a/src/Model/Model_Objects.cpp +++ b/src/Model/Model_Objects.cpp @@ -589,7 +589,8 @@ ObjectPtr Model_Objects::object(TDF_Label theLabel) const std::list& aResults = aFeature->results(); std::list >::const_iterator aRIter = aResults.cbegin(); for(; aRIter != aResults.cend(); aRIter++) { - std::shared_ptr aResData = std::dynamic_pointer_cast((*aRIter)->data()); + std::shared_ptr aResData = + std::dynamic_pointer_cast((*aRIter)->data()); if (aResData->label().Father().IsEqual(aSubLab.ChangeValue())) { aCurrentResult = *aRIter; break; diff --git a/src/ModuleBase/ModuleBase_ITreeNode.h b/src/ModuleBase/ModuleBase_ITreeNode.h index bf7c8bbcf..362dad470 100644 --- a/src/ModuleBase/ModuleBase_ITreeNode.h +++ b/src/ModuleBase/ModuleBase_ITreeNode.h @@ -58,7 +58,9 @@ public: virtual QVariant data(int theColumn, int theRole) const { return QVariant(); } /// Returns properties flag of the item - virtual Qt::ItemFlags flags(int theColumn) const { return Qt::ItemIsSelectable | Qt::ItemIsEnabled; } + virtual Qt::ItemFlags flags(int theColumn) const { + return Qt::ItemIsSelectable | Qt::ItemIsEnabled; + } /// Returns parent node of the current node ModuleBase_ITreeNode* parent() const { return myParent; } @@ -121,7 +123,9 @@ public: /// Process creation of objects. /// \param theObjects a list of created objects /// \return a list of nodes which corresponds to the created objects - virtual QTreeNodesList objectCreated(const QObjectPtrList& theObjects) { return QTreeNodesList(); } + virtual QTreeNodesList objectCreated(const QObjectPtrList& theObjects) { + return QTreeNodesList(); + } /// Process deletion of objects. /// \param theDoc a document where objects were deleted diff --git a/src/PartSet/PartSet_TreeNodes.cpp b/src/PartSet/PartSet_TreeNodes.cpp index 5e642c691..0c61b889d 100644 --- a/src/PartSet/PartSet_TreeNodes.cpp +++ b/src/PartSet/PartSet_TreeNodes.cpp @@ -249,7 +249,8 @@ QTreeNodesList PartSet_ObjectNode::objectCreated(const QObjectPtrList& theObject return aResult; } -QTreeNodesList PartSet_ObjectNode::objectsDeleted(const DocumentPtr& theDoc, const QString& theGroup) +QTreeNodesList PartSet_ObjectNode::objectsDeleted( + const DocumentPtr& theDoc, const QString& theGroup) { QTreeNodesList aResult; ResultBodyPtr aCompRes = std::dynamic_pointer_cast(myObject); @@ -1071,7 +1072,8 @@ void PartSet_ObjectFolderNode::getFirstAndLastIndex(int& theFirst, int& theLast) // return aResult; //} // -//QTreeNodesList PartSet_CompsolidNode::objectsDeleted(const DocumentPtr& theDoc, const QString& theGroup) +//QTreeNodesList PartSet_CompsolidNode::objectsDeleted( +// const DocumentPtr& theDoc, const QString& theGroup) //{ // QTreeNodesList aResult; // ResultCompSolidPtr aCompRes = std::dynamic_pointer_cast(myObject);