diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-11-03 14:45:10 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-11-03 14:46:17 (GMT) |
commit | fc45c07c27100591750ad5c360fde535e15b9dbd (patch) | |
tree | 09d916d0253be46db799f4cab4facae41682febd /tests/auto/qxmlserializer/tst_qxmlserializer.cpp | |
parent | 33489bcf46d681caba6cf107a79593302d48b1db (diff) | |
download | Qt-fc45c07c27100591750ad5c360fde535e15b9dbd.zip Qt-fc45c07c27100591750ad5c360fde535e15b9dbd.tar.gz Qt-fc45c07c27100591750ad5c360fde535e15b9dbd.tar.bz2 |
Made xmlpatterns autotests compile for Symbian
Fixed xmlpatterns autotests so that they compile for Symbian with
both RVCT and NokiaX86 compilers.
Reviewed-by: Janne Koskinen
Diffstat (limited to 'tests/auto/qxmlserializer/tst_qxmlserializer.cpp')
-rw-r--r-- | tests/auto/qxmlserializer/tst_qxmlserializer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qxmlserializer/tst_qxmlserializer.cpp b/tests/auto/qxmlserializer/tst_qxmlserializer.cpp index aeca140..51044ff 100644 --- a/tests/auto/qxmlserializer/tst_qxmlserializer.cpp +++ b/tests/auto/qxmlserializer/tst_qxmlserializer.cpp @@ -148,7 +148,7 @@ void tst_QXmlSerializer::outputDevice() const { const QXmlQuery query; const QXmlSerializer serializer(query, &file); - QCOMPARE(serializer.outputDevice(), &file); + QCOMPARE(serializer.outputDevice(), static_cast< QIODevice *>(&file)); } } @@ -158,7 +158,7 @@ void tst_QXmlSerializer::serializationError() const QXmlQuery query; MessageSilencer silencer; query.setMessageHandler(&silencer); - + query.setQuery(queryString); QByteArray output; |