[TD]CI clang warnings
This commit is contained in:
@@ -52,7 +52,7 @@ DrawTileWeld::DrawTileWeld()
|
||||
{
|
||||
static const char *group = "TileWeld";
|
||||
|
||||
ADD_PROPERTY_TYPE(LeftText,(""),group,(App::PropertyType)(App::Prop_None),
|
||||
ADD_PROPERTY_TYPE(LeftText, (""), group, (App::PropertyType)(App::Prop_None),
|
||||
"Text before symbol");
|
||||
ADD_PROPERTY_TYPE(RightText, (nullptr), group, App::Prop_None, "Text after symbol");
|
||||
ADD_PROPERTY_TYPE(CenterText, (nullptr), group, App::Prop_None, "Text above/below symbol");
|
||||
@@ -60,7 +60,7 @@ DrawTileWeld::DrawTileWeld()
|
||||
ADD_PROPERTY_TYPE(SymbolIncluded, (""), group, App::Prop_None,
|
||||
"Embedded Symbol. System use only."); // n/a to end users
|
||||
|
||||
// SymbolFile.setStatus(App::Property::ReadOnly,true);
|
||||
// SymbolFile.setStatus(App::Property::ReadOnly, true);
|
||||
|
||||
std::string svgFilter("Symbol files (*.svg *.SVG);;All files (*)");
|
||||
SymbolFile.setFilter(svgFilter);
|
||||
@@ -93,7 +93,7 @@ short DrawTileWeld::mustExecute() const
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn *DrawTileWeld::execute()
|
||||
{
|
||||
{
|
||||
// Base::Console().Message("DTW::execute()\n");
|
||||
return DrawTile::execute();
|
||||
}
|
||||
@@ -110,7 +110,7 @@ void DrawTileWeld::replaceSymbolIncluded(std::string newSymbolFile)
|
||||
}
|
||||
}
|
||||
|
||||
void DrawTileWeld::onDocumentRestored()
|
||||
void DrawTileWeld::onDocumentRestored()
|
||||
{
|
||||
// Base::Console().Message("DTW::onDocumentRestored()\n");
|
||||
if (SymbolIncluded.isEmpty()) {
|
||||
@@ -172,7 +172,7 @@ PyObject *DrawTileWeld::getPyObject()
|
||||
{
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
// ref counter is set to 1
|
||||
PythonObject = Py::Object(new DrawTileWeldPy(this),true);
|
||||
PythonObject = Py::Object(new DrawTileWeldPy(this), true);
|
||||
}
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user