[TD]CI clang warnings

This commit is contained in:
wandererfan
2022-08-23 15:32:13 -04:00
committed by WandererFan
parent c075a298ae
commit aa2b1b8392
246 changed files with 3944 additions and 4241 deletions

View File

@@ -73,9 +73,9 @@ DrawSVGTemplate::DrawSVGTemplate()
ADD_PROPERTY_TYPE(Template, (""), group, App::Prop_Transient, "Template for the page"); //sb TemplateFileName???
// Width and Height properties shouldn't be set by the user
Height.setStatus(App::Property::ReadOnly,true);
Width.setStatus(App::Property::ReadOnly,true);
Orientation.setStatus(App::Property::ReadOnly,true);
Height.setStatus(App::Property::ReadOnly, true);
Width.setStatus(App::Property::ReadOnly, true);
Orientation.setStatus(App::Property::ReadOnly, true);
std::string svgFilter("Svg files (*.svg *.SVG);;All files (*)");
Template.setFilter(svgFilter);
@@ -89,7 +89,7 @@ PyObject *DrawSVGTemplate::getPyObject()
{
if (PythonObject.is(Py::_None())) {
// ref counter is set to 1
PythonObject = Py::Object(new DrawSVGTemplatePy(this),true);
PythonObject = Py::Object(new DrawSVGTemplatePy(this), true);
}
return Py::new_reference_to(PythonObject);
}