Import: [skip ci] fix some minor Lint issues

This commit is contained in:
wmayer
2023-02-25 15:18:40 +01:00
committed by wwmayer
parent c3fc619b99
commit 85ad88d101
2 changed files with 8 additions and 8 deletions

View File

@@ -80,8 +80,8 @@ namespace Import {
class ImportOCAFExt : public Import::ImportOCAF2
{
public:
ImportOCAFExt(Handle(TDocStd_Document) h, App::Document* d, const std::string& name)
: ImportOCAF2(h, d, name)
ImportOCAFExt(Handle(TDocStd_Document) hStdDoc, App::Document* doc, const std::string& name)
: ImportOCAF2(hStdDoc, doc, name)
{
}
@@ -122,7 +122,7 @@ public:
initialize("This module is the Import module."); // register with Python
}
~Module() override {}
~Module() override = default;
private:
Py::Object importer(const Py::Tuple& args, const Py::Dict &kwds)

View File

@@ -1,4 +1,4 @@
# FreeCAD init script of the Import module
# FreeCAD init script of the Import module
# (c) 2001 Juergen Riegel
#***************************************************************************
@@ -13,12 +13,12 @@
#* for detail see the LICENCE text file. *
#* *
#* FreeCAD is distributed in the hope that it will be useful, *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
#* GNU Lesser General Public License for more details. *
#* *
#* You should have received a copy of the GNU Library General Public *
#* License along with FreeCAD; if not, write to the Free Software *
#* License along with FreeCAD; if not, write to the Free Software *
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
#* USA *
#* *
@@ -31,6 +31,6 @@
#FreeCAD.addExportType("STEP 214 (*.step *.stp)","ImportGui")
#FreeCAD.addExportType("IGES files (*.iges *.igs)","ImportGui")
FreeCAD.addImportType("PLMXML files (*.plmxml)","PlmXmlParser")
FreeCAD.addImportType("STEPZ Zip File Type (*.stpZ *.stpz)","stepZ")
FreeCAD.addExportType("STEPZ zip File Type (*.stpZ *.stpz)","stepZ")
FreeCAD.addImportType("STEPZ Zip File Type (*.stpZ *.stpz)","stepZ")
FreeCAD.addExportType("STEPZ zip File Type (*.stpZ *.stpz)","stepZ")
FreeCAD.addExportType("glTF (*.gltf *.glb)","ImportGui")