diff --git a/src/Gui/ExpressionBinding.h b/src/Gui/ExpressionBinding.h index 4aac7a84a6..031006ca5d 100644 --- a/src/Gui/ExpressionBinding.h +++ b/src/Gui/ExpressionBinding.h @@ -39,7 +39,7 @@ class GuiExport ExpressionBinding { public: ExpressionBinding(); - ~ExpressionBinding(); + virtual ~ExpressionBinding(); virtual void bind(const App::ObjectIdentifier & _path); virtual void bind(const App::Property & prop); diff --git a/src/Mod/Draft/App/dxf.h b/src/Mod/Draft/App/dxf.h index 9000924a01..8137ba4341 100644 --- a/src/Mod/Draft/App/dxf.h +++ b/src/Mod/Draft/App/dxf.h @@ -137,7 +137,7 @@ protected: public: CDxfRead(const char* filepath); // this opens the file - ~CDxfRead(); // this closes the file + virtual ~CDxfRead(); // this closes the file bool Failed(){return m_fail;} void DoRead(const bool ignore_errors = false); // this reads the file and calls the following functions diff --git a/src/Mod/Import/App/dxf.h b/src/Mod/Import/App/dxf.h index 02be37da2c..51b47a467c 100644 --- a/src/Mod/Import/App/dxf.h +++ b/src/Mod/Import/App/dxf.h @@ -288,7 +288,7 @@ protected: public: CDxfRead(const char* filepath); // this opens the file - ~CDxfRead(); // this closes the file + virtual ~CDxfRead(); // this closes the file bool Failed(){return m_fail;} void DoRead(const bool ignore_errors = false); // this reads the file and calls the following functions diff --git a/src/Mod/Path/libarea/dxf.h b/src/Mod/Path/libarea/dxf.h index cad55819fc..cb228d8c64 100644 --- a/src/Mod/Path/libarea/dxf.h +++ b/src/Mod/Path/libarea/dxf.h @@ -122,7 +122,7 @@ private: bool ReadVertex(double *pVertex, bool *bulge_found, double *bulge); void OnReadArc(double start_angle, double end_angle, double radius, const double* c); void OnReadCircle(const double* c, double radius); - void OnReadEllipse(const double* c, const double* m, double ratio, double start_angle, double end_angle); + void OnReadEllipse(const double* c, const double* m, double ratio, double start_angle, double end_angle); bool ReadInsert(); void get_line(); @@ -134,7 +134,7 @@ protected: public: CDxfRead(const char* filepath); // this opens the file - ~CDxfRead(); // this closes the file + virtual ~CDxfRead(); // this closes the file bool Failed(){return m_fail;} void DoRead(const bool ignore_errors = false); // this reads the file and calls the following functions