Sketcher: App - Clang-format

This commit is contained in:
Abdullah Tahiri
2023-05-18 19:01:34 +02:00
committed by abdullahtahiriyo
parent c33cdcd68a
commit 987b4bda2a
40 changed files with 9714 additions and 7322 deletions

View File

@@ -33,8 +33,11 @@ PROPERTY_SOURCE(Sketcher::SketchObjectSF, Part::Part2DObject)
SketchObjectSF::SketchObjectSF()
{
ADD_PROPERTY_TYPE(SketchFlatFile,(nullptr),"",(App::PropertyType)(App::Prop_None),
"SketchFlat file (*.skf) which defines this sketch");
ADD_PROPERTY_TYPE(SketchFlatFile,
(nullptr),
"",
(App::PropertyType)(App::Prop_None),
"SketchFlat file (*.skf) which defines this sketch");
}
short SketchObjectSF::mustExecute() const
@@ -44,9 +47,11 @@ short SketchObjectSF::mustExecute() const
return 0;
}
App::DocumentObjectExecReturn *SketchObjectSF::execute()
App::DocumentObjectExecReturn* SketchObjectSF::execute()
{
Base::Console().Warning("%s: This feature is deprecated and won't be longer supported in future FreeCAD versions\n",this->getNameInDocument());
// do nothing
Base::Console().Warning(
"%s: This feature is deprecated and won't be longer supported in future FreeCAD versions\n",
this->getNameInDocument());
// do nothing
return App::DocumentObject::StdReturn;
}