diff --git a/src/App/Property.h b/src/App/Property.h index 2408df85cc..f2f6487d27 100644 --- a/src/App/Property.h +++ b/src/App/Property.h @@ -266,7 +266,7 @@ public: * This function sets the value of the property identified by the path. It * is meant to be overridden for subclasses in which the `path` is * typically ignored. The default implementation redirects setting a value - * to the the `path` ObjectIdentifier. + * to the `path` ObjectIdentifier. * * @param[in] path The path to the property. * @param[in] value The value to set. diff --git a/src/Gui/ToolBarManager.cpp b/src/Gui/ToolBarManager.cpp index 2454735bfb..61232d64bf 100644 --- a/src/Gui/ToolBarManager.cpp +++ b/src/Gui/ToolBarManager.cpp @@ -645,7 +645,7 @@ void ToolBarManager::setupToolBarIconSize() { int s = toolBarIconSize(); getMainWindow()->setIconSize(QSize(s, s)); - // Most of the the toolbar will have explicit icon size, so the above call + // Most of the toolbar will have explicit icon size, so the above call // to QMainWindow::setIconSize() will have no effect. We need to explicitly // change the icon size. QList bars = getMainWindow()->findChildren(); diff --git a/src/Mod/Part/App/TopoShape.h b/src/Mod/Part/App/TopoShape.h index 8cf4f325f4..0f154716b3 100644 --- a/src/Mod/Part/App/TopoShape.h +++ b/src/Mod/Part/App/TopoShape.h @@ -1192,7 +1192,7 @@ public: * @param base: the base shape * @param axis: the revolving axis * @param d: rotation angle in degree - * @param face_maker: optional type name of the the maker used to make a + * @param face_maker: optional type name of the maker used to make a * face from basis shape * @param op: optional string to be encoded into topo naming for indicating * the operation @@ -1214,7 +1214,7 @@ public: * * @param axis: the revolving axis * @param d: rotation angle in degree - * @param face_maker: optional type name of the the maker used to make a + * @param face_maker: optional type name of the maker used to make a * face from basis shape * @param op: optional string to be encoded into topo naming for indicating * the operation @@ -1237,7 +1237,7 @@ public: * @param base: the basis shape (solid) * @param profile: the shape to be revolved * @param axis: the revolving axis - * @param face_maker: optional type name of the the maker used to make a + * @param face_maker: optional type name of the maker used to make a * face from basis shape * @param supportface: the bottom face for the revolution, or null * @param uptoface: the upper limit face for the revolution, or null @@ -1263,7 +1263,7 @@ public: /** Make revolved shell around a basis shape * * @param axis: the revolving axis - * @param face_maker: optional type name of the the maker used to make a + * @param face_maker: optional type name of the maker used to make a * face from basis shape * @param supportface: the bottom face for the revolution, or null * @param uptoface: the upper limit face for the revolution, or null @@ -2719,7 +2719,7 @@ public: * * @param shapes: input shapes of any type. The function will automatically * discover connected and closed edges to be used as the - * boundary of the the new face. Any other vertex, edge, + * boundary of the new face. Any other vertex, edge, * and/or face will be used as constraints to fine tune the * surface generation. * @param params: @sa BRepFillingParams diff --git a/src/Mod/Part/App/TopoShapeExpansion.cpp b/src/Mod/Part/App/TopoShapeExpansion.cpp index 00e2fd5a6d..716478077b 100644 --- a/src/Mod/Part/App/TopoShapeExpansion.cpp +++ b/src/Mod/Part/App/TopoShapeExpansion.cpp @@ -2163,10 +2163,7 @@ TopoShape& TopoShape::makeElementEvolve( if (profileShape.IsNull() || !BRepBuilderAPI_FindPlane(profileShape).Found()) { if (profileShape.IsNull() || profile.countSubShapes(TopAbs_EDGE) > 1 || !profile.getSubTopoShape(TopAbs_EDGE, 1).isLinearEdge()) { - FC_THROWM( - Base::CADKernelError, - "Expect the the profile to be a planar wire or a face or a line" - ); + FC_THROWM(Base::CADKernelError, "Expect the profile to be a planar wire or a face or a line"); } } if (spineShape.ShapeType() == TopAbs_FACE) { @@ -3642,7 +3639,7 @@ struct MapperPrism: MapperMaker TopoShape shape(maker.Shape()); for (auto& vertex : bottom.getSubShapes(TopAbs_VERTEX)) { for (auto& e : shape.findAncestorsShapes(vertex, TopAbs_EDGE)) { - // Make sure to not visit the the same edge twice. + // Make sure to not visit the same edge twice. // And check only edge that are not found in the bottom profile if (!edgeSet.insert(e).second && !bottom.findShape(e)) { auto otherVertex = TopExp::FirstVertex(TopoDS::Edge(e)); diff --git a/src/Mod/TechDraw/App/ShapeExtractor.cpp b/src/Mod/TechDraw/App/ShapeExtractor.cpp index 51065cc671..9d7d25eb86 100644 --- a/src/Mod/TechDraw/App/ShapeExtractor.cpp +++ b/src/Mod/TechDraw/App/ShapeExtractor.cpp @@ -79,7 +79,7 @@ std::vector ShapeExtractor::getShapes2d(const std::vector links, bool include2d) { diff --git a/src/Mod/TechDraw/Gui/QGIProjGroup.cpp b/src/Mod/TechDraw/Gui/QGIProjGroup.cpp index af8da4512d..81d1d44168 100644 --- a/src/Mod/TechDraw/Gui/QGIProjGroup.cpp +++ b/src/Mod/TechDraw/Gui/QGIProjGroup.cpp @@ -61,7 +61,7 @@ bool QGIProjGroup::autoDistributeEnabled() const // note that we are not actually handling any of these events (ie we don't return true, and we don't -// set the the event to ignore) here. +// set the event to ignore) here. bool QGIProjGroup::sceneEventFilter(QGraphicsItem* watched, QEvent *event) { auto qvpart = dynamic_cast(watched);