Misc. typo fixes

Various workbenches
This commit is contained in:
Unknown
2017-12-23 07:59:21 -05:00
committed by wmayer
parent 3df389f5f2
commit a8ecffb652
98 changed files with 169 additions and 169 deletions

View File

@@ -58,7 +58,7 @@ BaseClass::~BaseClass()
//**************************************************************************
// separator for other implemetation aspects
// separator for other implementation aspects
void BaseClass::init(void)
{

View File

@@ -42,7 +42,7 @@ class BaseExport AbstractProducer
public:
AbstractProducer() {}
virtual ~AbstractProducer() {}
/// overwriten by a concret producer to produce the needed object
/// overwritten by a concrete producer to produce the needed object
virtual void* Produce (void) const = 0;
};
@@ -101,7 +101,7 @@ inline ScriptFactorySingleton& ScriptFactory(void)
// --------------------------------------------------------------------
/** Script Factory
* This class produce Scirpts.
* This class produce Scripts.
* @see Factory
*/
class BaseExport ScriptProducer: public AbstractProducer

View File

@@ -58,7 +58,7 @@ ClassTemplate::~ClassTemplate()
//**************************************************************************
// separator for other implemetation aspects
// separator for other implementation aspects
/**
* a normal member taking two arguments and returning an integer value.

View File

@@ -118,7 +118,7 @@ void PyException::ReportException (void) const
SystemExitException::SystemExitException()
{
// Set exception message and code based upon the pthon sys.exit() code and/or message
// based upon the the following sys.exit() call semantics.
// based upon the following sys.exit() call semantics.
//
// Invocation | _exitCode | _sErrMsg
// ---------------- + --------- + --------

View File

@@ -161,7 +161,7 @@ MemDebug::~MemDebug()
//**************************************************************************
// separator for other implemetation aspects
// separator for other implementation aspects
/* REPORT HOOK FUNCTION

View File

@@ -319,7 +319,7 @@ Base::Reference<ParameterGrp> ParameterGrp::GetGroup(const char* Name)
else {
// path, split the first path
std::string cTemp;
// geting the first part
// getting the first part
cTemp.assign(cName,0,pos);
// removing the first part from the original
cName.erase(0,pos+1);
@@ -373,7 +373,7 @@ std::vector<Base::Reference<ParameterGrp> > ParameterGrp::GetGroups(void)
return vrParamGrp;
}
/// test if this group is emty
/// test if this group is empty
bool ParameterGrp::IsEmpty(void) const
{
if ( _pGroupNode->getFirstChild() )

View File

@@ -118,7 +118,7 @@ public:
Base::Reference<ParameterGrp> GetGroup(const char* Name);
/// get a vector of all sub groups in this group
std::vector<Base::Reference<ParameterGrp> > GetGroups(void);
/// test if this group is emty
/// test if this group is empty
bool IsEmpty(void) const;
/// test if a special sub group is in this group
bool HasGroup(const char* Name) const;

View File

@@ -40,7 +40,7 @@ TYPESYSTEM_SOURCE_ABSTRACT(Base::Persistence,Base::BaseClass);
//**************************************************************************
// separator for other implemetation aspects
// separator for other implementation aspects
unsigned int Persistence::getMemSize (void) const
{

View File

@@ -118,8 +118,8 @@ public:
/** pointer and default constructor
* the good way would be not using pointer
* instead using a overwriten new operator in the
* HandledType class! But is not easy to inforce!
* instead using a overwritten new operator in the
* HandledType class! But is not easy to enforce!
*/
PyHandle(HandledType *ToHandel=0L)
:_pHandels(ToHandel) {

View File

@@ -68,7 +68,7 @@ PyObjectBase::~PyObjectBase()
* the Py_TPFLAGS_BASETYPE flag. For example, the classes App::VectorPy and App::MatrixPy
* have removed this flag and its Python proxies App.Vector and App.Matrix cannot be subclassed.
* In case we want to allow to derive from subclasses of PyTypeObject in Python
* we must either reimplment tp_new, tp_dealloc, tp_getattr, tp_setattr, tp_repr or set them to
* we must either reimplement tp_new, tp_dealloc, tp_getattr, tp_setattr, tp_repr or set them to
* 0 and define tp_base as 0.
*/

View File

@@ -266,7 +266,7 @@ public:
/** PyInit method
* Override this method to initialize a newly created
* instance of the class (Constuctor)
* instance of the class (Constructor)
*/
virtual int PyInit(PyObject* /*args*/, PyObject* /*kwd*/)
{

View File

@@ -13,7 +13,7 @@
* (should also be enough)
* - Changed to compile correctly with the PSDK of VC7.0
* (GetFileVersionInfoSizeA and GetFileVersionInfoA is wrongly defined:
* it uses LPSTR instead of LPCSTR as first paremeter)
* it uses LPSTR instead of LPCSTR as first parameter)
* - Added declarations to support VC5/6 without using 'dbghelp.h'
* - Added a 'pUserData' member to the ShowCallstack function and the
* PReadProcessMemoryRoutine declaration (to pass some user-defined data,
@@ -1112,7 +1112,7 @@ BOOL StackWalker::ShowCallstack(HANDLE hThread, const CONTEXT *context, PReadPro
// if this returns ERROR_INVALID_ADDRESS (487) or ERROR_NOACCESS (998), you can
// assume that either you are done, or that the stack is so hosed that the next
// deeper frame could not be found.
// CONTEXT need not to be suplied if imageTyp is IMAGE_FILE_MACHINE_I386!
// CONTEXT need not to be supplied if imageTyp is IMAGE_FILE_MACHINE_I386!
if ( ! this->m_sw->pSW(imageType, this->m_hProcess, hThread, &s, &c, myReadProcMem, this->m_sw->pSFTA, this->m_sw->pSGMB, NULL) )
{
// INFO: "StackWalk64" does not set "GetLastError"...

View File

@@ -53,7 +53,7 @@ TimeInfo::~TimeInfo()
//**************************************************************************
// separator for other implemetation aspects
// separator for other implementation aspects
void TimeInfo::setCurrent(void)
{

View File

@@ -143,7 +143,7 @@ void UnitsApi::setSchema(UnitSystem s)
actSystem = SI1;
}
UserPrefSystem->setSchemaUnits(); // if necesarry a unit schema can change the constants in Quantity (e.g. mi=1.8km rather then 1.6km).
UserPrefSystem->setSchemaUnits(); // if necessary a unit schema can change the constants in Quantity (e.g. mi=1.8km rather then 1.6km).
}