QtXmlPatterns: Fix compiler warnings.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Thu, 24 May 2012 08:22:33 +0000 (10:22 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 25 May 2012 08:45:26 +0000 (10:45 +0200)
commit04cd6d9569e3034e57108e8309c353c13803abe8
tree8567026788c4d15e67b7bb39feb036fe5830491e
parent4f485fab26b986a38b0caee7bbf4b16cd265f329
QtXmlPatterns: Fix compiler warnings.

QString conversions, assigned/unused variables,
braces around ambiguous else.
Also fixed coding style in the affected lines to make
the sanity bot happy.

Change-Id: I85e440861ec9e8177a6cf9a017dc981a25212f54
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp
doc/src/snippets/code/src_xmlpatterns_api_qxmlresultitems.cpp
src/xmlpatterns/functions/qstringvaluefns.cpp
tests/auto/xmlpatternssdk/TestBaseLine.cpp
tests/auto/xmlpatternssdk/XMLWriter.cpp