summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlschema
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-11-03 14:45:10 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-11-03 14:46:17 (GMT)
commitfc45c07c27100591750ad5c360fde535e15b9dbd (patch)
tree09d916d0253be46db799f4cab4facae41682febd /tests/auto/qxmlschema
parent33489bcf46d681caba6cf107a79593302d48b1db (diff)
downloadQt-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/qxmlschema')
-rw-r--r--tests/auto/qxmlschema/tst_qxmlschema.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qxmlschema/tst_qxmlschema.cpp b/tests/auto/qxmlschema/tst_qxmlschema.cpp
index 79f5587..ec91f88 100644
--- a/tests/auto/qxmlschema/tst_qxmlschema.cpp
+++ b/tests/auto/qxmlschema/tst_qxmlschema.cpp
@@ -357,7 +357,7 @@ void tst_QXmlSchema::messageHandler() const
QXmlSchema schema;
schema.setMessageHandler(&handler);
- QCOMPARE(schema.messageHandler(), &handler);
+ QCOMPARE(schema.messageHandler(), static_cast<QAbstractMessageHandler *>(&handler));
}
}
@@ -394,7 +394,7 @@ void tst_QXmlSchema::uriResolver() const
QXmlSchema schema;
schema.setUriResolver(&resolver);
- QCOMPARE(schema.uriResolver(), &resolver);
+ QCOMPARE(schema.uriResolver(), static_cast<const QAbstractUriResolver *>(&resolver));
}
}