[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2024-06-24 03:34:12 +00:00
parent 3c3709cb5d
commit ef6cd173eb
3 changed files with 13 additions and 11 deletions

View File

@@ -264,8 +264,8 @@ bool Base::XMLReader::isEndOfDocument() const
void Base::XMLReader::readEndElement(const char* ElementName, int level)
{
// if we are already at the end of the current element
if ( (ReadType == EndElement || ReadType == StartEndElement) && ElementName && LocalName == ElementName
&& (level < 0 || level == Level)) {
if ((ReadType == EndElement || ReadType == StartEndElement) && ElementName
&& LocalName == ElementName && (level < 0 || level == Level)) {
return;
}
if (ReadType == EndDocument) {