diff --git a/src/Gui/ViewProviderPart.h b/src/Gui/ViewProviderPart.h index 1d756321fd..526ecca4fb 100644 --- a/src/Gui/ViewProviderPart.h +++ b/src/Gui/ViewProviderPart.h @@ -48,7 +48,7 @@ public: /// deliver the icon shown in the tree view /// override from ViewProvider.h - virtual QIcon getIcon(void) const; + virtual QIcon getIcon(void) const override; protected: /// get called by the container whenever a property has been changed diff --git a/src/Mod/TechDraw/App/Cosmetic.cpp b/src/Mod/TechDraw/App/Cosmetic.cpp index dbb048f2ef..44b1ea7791 100644 --- a/src/Mod/TechDraw/App/Cosmetic.cpp +++ b/src/Mod/TechDraw/App/Cosmetic.cpp @@ -1003,6 +1003,8 @@ std::pair CenterLine::calcEndPoints2Lines(DrawVi double rotate, bool flip) { + Q_UNUSED(flip) + // Base::Console().Message("CL::calc2Lines() - mode: %d flip: %d edgeNames: %d\n", mode, flip, edgeNames.size()); std::pair result; if (edgeNames.empty()) {