fix -Wextra in FreeCADApp

This commit is contained in:
wmayer
2016-09-21 16:05:36 +02:00
parent f408f3180b
commit 71df967fdf
14 changed files with 115 additions and 32 deletions

View File

@@ -142,20 +142,15 @@ public:
private:
/** Checks if a new document was created */
virtual void slotCreatedDocument(const App::Document& Doc)
{}
virtual void slotCreatedDocument(const App::Document& Doc);
/** Checks if the given document is about to be closed */
virtual void slotDeletedDocument(const App::Document& Doc)
{}
virtual void slotDeletedDocument(const App::Document& Doc);
/** Checks if a new object was added. */
virtual void slotCreatedObject(const App::DocumentObject& Obj)
{}
virtual void slotCreatedObject(const App::DocumentObject& Obj);
/** Checks if the given object is about to be removed. */
virtual void slotDeletedObject(const App::DocumentObject& Obj)
{}
virtual void slotDeletedObject(const App::DocumentObject& Obj);
/** The property of an observed object has changed */
virtual void slotChangedObject(const App::DocumentObject& Obj, const App::Property& Prop)
{}
virtual void slotChangedObject(const App::DocumentObject& Obj, const App::Property& Prop);
protected:
Document* getDocument() const;