summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_forms/OTimeModel.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_forms/OTimeModel.java')
-rw-r--r--qadevOOo/tests/java/mod/_forms/OTimeModel.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/mod/_forms/OTimeModel.java b/qadevOOo/tests/java/mod/_forms/OTimeModel.java
index f5b6b1b36a0b..b5689275dd8d 100644
--- a/qadevOOo/tests/java/mod/_forms/OTimeModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OTimeModel.java
@@ -164,7 +164,7 @@ public class OTimeModel extends GenericModelTest {
PrintWriter log) {
TestEnvironment tEnv = super.createTestEnvironment(Param, log);
- HashSet exclude = new HashSet();
+ HashSet<String> exclude = new HashSet<String>();
exclude.add("FormatKey");
@@ -206,9 +206,9 @@ public class OTimeModel extends GenericModelTest {
}
public void commit() throws com.sun.star.sdbc.SQLException {
- XBoundComponent bound = (XBoundComponent) UnoRuntime.queryInterface(
+ XBoundComponent bound = UnoRuntime.queryInterface(
XBoundComponent.class, ctrl);
- XResultSetUpdate update = (XResultSetUpdate) UnoRuntime.queryInterface(
+ XResultSetUpdate update = UnoRuntime.queryInterface(
XResultSetUpdate.class,
formLoaderF);