From 3b3c1032c14549deb48a9fa033b1b54344add3f5 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Mon, 24 Jul 2017 14:58:20 -0400 Subject: [PATCH] App: typo fix doxy and code comment fix --- src/App/Extension.h | 4 ++-- src/App/ExtensionContainer.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App/Extension.h b/src/App/Extension.h index 8b64d90f44..ad764d6c88 100644 --- a/src/App/Extension.h +++ b/src/App/Extension.h @@ -130,7 +130,7 @@ template<> void _class_::init(void){\ * documentation. Following is a description howto create custom extensions. * * Extensions are like every other FreeCAD object and based on properties. All information storage - * and persistance should be achieved by use of those. Additional any number of methods can be + * and persistence should be achieved by use of those. Additional any number of methods can be * added to provide funtionality around the properties. There are 3 samll difference to normal objects: * 1. They must be derived from Extension class * 2. Properties must be handled with special extension macros @@ -272,7 +272,7 @@ public: virtual const char* extensionGetPropertyDocumentation(const char *name) const; //@} - /** @name Persistance */ + /** @name Persistence */ //@{ virtual void extensionSave(Base::Writer&) const {} virtual void extensionRestore(Base::XMLReader&) {} diff --git a/src/App/ExtensionContainer.h b/src/App/ExtensionContainer.h index 43e169f87b..5aac236c98 100644 --- a/src/App/ExtensionContainer.h +++ b/src/App/ExtensionContainer.h @@ -48,7 +48,7 @@ namespace App { * extend other objects. A extended object gets all the properties and methods of the extension. * Therefore it is like c++ multiple inheritance, which is indeed used to achieve this on c++ side, * but provides a few important additional functionalities: - * - Property persistance is handled, save and restore work out of the box + * - Property persistence is handled, save and restore work out of the box * - The objects python API gets extended too with the extension python API * - Extensions can be added from c++ and python, even from both together *