diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-05-24 10:22:33 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-25 10:45:26 +0200 |
commit | 04cd6d9569e3034e57108e8309c353c13803abe8 (patch) | |
tree | 8567026788c4d15e67b7bb39feb036fe5830491e /tests/auto/xmlpatternssdk/XMLWriter.cpp | |
parent | 4f485fab26b986a38b0caee7bbf4b16cd265f329 (diff) | |
download | qtxmlpatterns-04cd6d9569e3034e57108e8309c353c13803abe8.tar.gz |
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>
Diffstat (limited to 'tests/auto/xmlpatternssdk/XMLWriter.cpp')
-rw-r--r-- | tests/auto/xmlpatternssdk/XMLWriter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/xmlpatternssdk/XMLWriter.cpp b/tests/auto/xmlpatternssdk/XMLWriter.cpp index 40f4a4e..a81a986 100644 --- a/tests/auto/xmlpatternssdk/XMLWriter.cpp +++ b/tests/auto/xmlpatternssdk/XMLWriter.cpp @@ -571,8 +571,9 @@ bool XMLWriter::startDTD(const QString &name, if(!systemId.isEmpty()) { - if(publicId.isEmpty()) + if (publicId.isEmpty()) { serialize(" SYSTEM"); + } serialize(" \""); serialize(systemId); |