From d8069f32013d9d91437cd1a4f4d43bae6c49bae4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Eckhart=20W=C3=B6rner?= Date: Sun, 28 Sep 2008 18:22:08 +0000 Subject: [PATCH] Reduce compiler warnings svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=865703 --- libscience/elementparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libscience/elementparser.cpp b/libscience/elementparser.cpp index d10abd2..89a2703 100644 --- a/libscience/elementparser.cpp +++ b/libscience/elementparser.cpp @@ -110,7 +110,7 @@ bool ElementSaxParser::startElement(const QString&, const QString &localName, co { d->currentElement = new Element(); d->inElement = true; - } else if (d->inElement && localName == "scalar" || localName == "array" ) + } else if ( ( d->inElement && localName == "scalar" ) || localName == "array" ) { for (int i = 0; i < attrs.length(); ++i) { -- 2.47.3