From afabe071a424120a19c5a5e42c816516cc845210 Mon Sep 17 00:00:00 2001 From: przemek83 <4788832+przemek83@users.noreply.github.com> Date: Tue, 31 Dec 2024 19:12:51 +0100 Subject: [PATCH] Add parentheses around complex operands. --- src/ImportOds.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ImportOds.cpp b/src/ImportOds.cpp index 1541dcd..17d52a9 100644 --- a/src/ImportOds.cpp +++ b/src/ImportOds.cpp @@ -321,8 +321,8 @@ bool ImportOds::moveToSecondRow(const QString& sheetName, QuaZipFile& zipFile, bool secondRow{false}; while ((!xmlStreamReader.atEnd()) && - !((xmlStreamReader.qualifiedName() == TABLE_QUALIFIED_NAME) && - xmlStreamReader.isEndElement())) + (!((xmlStreamReader.qualifiedName() == TABLE_QUALIFIED_NAME) && + xmlStreamReader.isEndElement()))) { if (isRowStart(xmlStreamReader)) {