summaryrefslogtreecommitdiffstats
path: root/qtools/qxml.cpp
diff options
context:
space:
mode:
authorluzpaz <kunda@scribus.net>2017-12-23 16:50:49 (GMT)
committerluzpaz <kunda@scribus.net>2017-12-23 16:52:14 (GMT)
commit9fd7f3aeb4c2e78bda669bf4ef6fff1c12c062a4 (patch)
tree998cae2d5a219eb49b12903500d5692fe5fbe3c3 /qtools/qxml.cpp
parent4f45bd20d4da7d40c793ec4c4c13558581e995ac (diff)
downloadDoxygen-9fd7f3aeb4c2e78bda669bf4ef6fff1c12c062a4.zip
Doxygen-9fd7f3aeb4c2e78bda669bf4ef6fff1c12c062a4.tar.gz
Doxygen-9fd7f3aeb4c2e78bda669bf4ef6fff1c12c062a4.tar.bz2
Misc. typos
Super trivial typos Some are in qtools/ which I know is a 3rd party dependency but as we know is now obsolete upstream. I reckon it wouldn't be much of an issue to merge neverthless Tacked on several more commits
Diffstat (limited to 'qtools/qxml.cpp')
-rw-r--r--qtools/qxml.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/qtools/qxml.cpp b/qtools/qxml.cpp
index 806bd42..072997e 100644
--- a/qtools/qxml.cpp
+++ b/qtools/qxml.cpp
@@ -44,7 +44,7 @@
// NOT REVISED
// Error strings for the XML reader
-#define XMLERR_OK "no error occured"
+#define XMLERR_OK "no error occurred"
#define XMLERR_TAGMISMATCH "tag mismatch"
#define XMLERR_UNEXPECTEDEOF "unexpected end of file"
#define XMLERR_FINISHEDPARSINGWHILENOTEOF "parsing is finished but end of file is not reached"
@@ -226,28 +226,28 @@ QString QXmlParseException::message() const
return msg;
}
/*!
- Returns the column number the error occured.
+ Returns the column number the error occurred.
*/
int QXmlParseException::columnNumber() const
{
return column;
}
/*!
- Returns the line number the error occured.
+ Returns the line number the error occurred.
*/
int QXmlParseException::lineNumber() const
{
return line;
}
/*!
- Returns the public identifier the error occured.
+ Returns the public identifier the error occurred.
*/
QString QXmlParseException::publicId() const
{
return pub;
}
/*!
- Returns the system identifier the error occured.
+ Returns the system identifier the error occurred.
*/
QString QXmlParseException::systemId() const
{
@@ -403,7 +403,7 @@ void QXmlNamespaceSupport::splitName( const QString& qname,
and looking it up among the prefixes currently declared.
First parameter is the raw XML 1.0 name to be processed. The second parameter
- is a flag wheter the name is the name of an attribute (TRUE) or not (FALSE).
+ is a flag whether the name is the name of an attribute (TRUE) or not (FALSE).
The return values will be stored in the last two parameters as follows:
<ul>
@@ -1079,7 +1079,7 @@ finished:
\fn bool QXmlErrorHandler::error( const QXmlParseException& exception )
A reader might use this function to report a recoverable error. A recoverable
- error corresponds to the definiton of "error" in section 1.2 of the XML 1.0
+ error corresponds to the definition of "error" in section 1.2 of the XML 1.0
specification.
The reader must continue to provide normal parsing events after invoking this
@@ -5652,7 +5652,7 @@ parseError:
head stands on the first character after the reference.
charDataRead is set to FALSE if the reference must be parsed. The
- charachter(s) which the reference mapped to are inserted at the reference
+ character(s) which the reference mapped to are inserted at the reference
position. The head stands on the first character of the replacement).
*/
bool QXmlSimpleReader::parseReference( bool &charDataRead, EntityRecognitionContext context )
@@ -5943,7 +5943,7 @@ bool QXmlSimpleReader::processReference( bool &charDataRead, EntityRecognitionCo
}
} else {
// "Unparsed"
- // ### notify for "Occurs as Attribute Value" missing (but this is no refence, anyway)
+ // ### notify for "Occurs as Attribute Value" missing (but this is no reference, anyway)
// Forbidden
d->error = XMLERR_UNPARSEDENTITYREFERENCE;
charDataRead = FALSE;