summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlschema
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-11-03 16:45:10 +0200
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-11-03 16:46:17 +0200
commitfc45c07c27100591750ad5c360fde535e15b9dbd (patch)
tree09d916d0253be46db799f4cab4facae41682febd /tests/auto/qxmlschema
parent33489bcf46d681caba6cf107a79593302d48b1db (diff)
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 79f5587489..ec91f888a3 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));
}
}