diff --git a/src/Mod/Import/App/AppImportPy.cpp b/src/Mod/Import/App/AppImportPy.cpp index 31b71a1bd5..8a33b1b3a7 100644 --- a/src/Mod/Import/App/AppImportPy.cpp +++ b/src/Mod/Import/App/AppImportPy.cpp @@ -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) diff --git a/src/Mod/Import/Init.py b/src/Mod/Import/Init.py index fa1429fe9b..730665c0b0 100644 --- a/src/Mod/Import/Init.py +++ b/src/Mod/Import/Init.py @@ -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")