xml: Fix typos in source code comments

Pick-to: 6.2
Change-Id: I33aaefec7128009ca5e1b368fdb67e2fbcd06e30
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Jonas Kvinge 2021-10-09 19:06:14 +02:00 committed by Volker Hilsheimer
parent f11bc38850
commit 9684764bda
3 changed files with 7 additions and 7 deletions

View File

@ -80,7 +80,7 @@ QT_BEGIN_NAMESPACE
/* ##### new TODOs:
Remove emtpy emthods in the *Private classes
Remove empty emthods in the *Private classes
Make a lot of the (mostly empty) methods in the public classes inline.
Specially constructors assignment operators and comparison operators are candidates.
@ -3016,7 +3016,7 @@ QDomNodePrivate* QDomDocumentTypePrivate::cloneNode(bool deep)
QDomNodePrivate* QDomDocumentTypePrivate::insertBefore(QDomNodePrivate* newChild, QDomNodePrivate* refChild)
{
// Call the origianl implementation
// Call the original implementation
QDomNodePrivate* p = QDomNodePrivate::insertBefore(newChild, refChild);
// Update the maps
if (p && p->isEntity())
@ -3029,7 +3029,7 @@ QDomNodePrivate* QDomDocumentTypePrivate::insertBefore(QDomNodePrivate* newChild
QDomNodePrivate* QDomDocumentTypePrivate::insertAfter(QDomNodePrivate* newChild, QDomNodePrivate* refChild)
{
// Call the origianl implementation
// Call the original implementation
QDomNodePrivate* p = QDomNodePrivate::insertAfter(newChild, refChild);
// Update the maps
if (p && p->isEntity())
@ -3042,7 +3042,7 @@ QDomNodePrivate* QDomDocumentTypePrivate::insertAfter(QDomNodePrivate* newChild,
QDomNodePrivate* QDomDocumentTypePrivate::replaceChild(QDomNodePrivate* newChild, QDomNodePrivate* oldChild)
{
// Call the origianl implementation
// Call the original implementation
QDomNodePrivate* p = QDomNodePrivate::replaceChild(newChild, oldChild);
// Update the maps
if (p) {
@ -3062,7 +3062,7 @@ QDomNodePrivate* QDomDocumentTypePrivate::replaceChild(QDomNodePrivate* newChild
QDomNodePrivate* QDomDocumentTypePrivate::removeChild(QDomNodePrivate* oldChild)
{
// Call the origianl implementation
// Call the original implementation
QDomNodePrivate* p = QDomNodePrivate::removeChild( oldChild);
// Update the maps
if (p && p->isEntity())

View File

@ -62,7 +62,7 @@ QT_BEGIN_NAMESPACE
/**************************************************************
*
* Private class declerations
* Private class declarations
*
**************************************************************/

View File

@ -437,7 +437,7 @@ bool QDomParser::parseMarkupDecl()
const auto entities = reader->entityDeclarations();
for (const auto &entityDecl : entities) {
// Entity declarations are created only for Extrenal Entities. Internal Entities
// Entity declarations are created only for External Entities. Internal Entities
// are parsed, and QXmlStreamReader handles the parsing itself and returns the
// parsed result. So we don't need to do anything for the Internal Entities.
if (!entityDecl.publicId().isEmpty() || !entityDecl.systemId().isEmpty()) {