summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/util/FormTools.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/util/FormTools.java')
-rw-r--r--qadevOOo/runner/util/FormTools.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/util/FormTools.java b/qadevOOo/runner/util/FormTools.java
index 2de4698877c2..bebd3c3ddd2a 100644
--- a/qadevOOo/runner/util/FormTools.java
+++ b/qadevOOo/runner/util/FormTools.java
@@ -226,7 +226,7 @@ public class FormTools {
XPropertySet formProps = UnoRuntime.queryInterface(XPropertySet.class, the_form);
formProps.setPropertyValue("DataSourceName","Bibliography");
formProps.setPropertyValue("Command","biblio");
- formProps.setPropertyValue("CommandType",new Integer(com.sun.star.sdb.CommandType.TABLE));
+ formProps.setPropertyValue("CommandType",Integer.valueOf(com.sun.star.sdb.CommandType.TABLE));
formLoader = UnoRuntime.queryInterface(XLoadable.class, the_form);
}
catch (Exception ex) {
@@ -255,7 +255,7 @@ public class FormTools {
XPropertySet formProps = UnoRuntime.queryInterface(XPropertySet.class, the_form);
formProps.setPropertyValue("DataSourceName",sourceName);
formProps.setPropertyValue("Command",tableName);
- formProps.setPropertyValue("CommandType",new Integer(com.sun.star.sdb.CommandType.TABLE));
+ formProps.setPropertyValue("CommandType",Integer.valueOf(com.sun.star.sdb.CommandType.TABLE));
return UnoRuntime.queryInterface(XLoadable.class, the_form);
}
@@ -281,7 +281,7 @@ public class FormTools {
XPropertySet formProps = UnoRuntime.queryInterface(XPropertySet.class, the_form);
formProps.setPropertyValue("DataSourceName",sourceName);
formProps.setPropertyValue("Command",tableName);
- formProps.setPropertyValue("CommandType",new Integer(com.sun.star.sdb.CommandType.TABLE));
+ formProps.setPropertyValue("CommandType",Integer.valueOf(com.sun.star.sdb.CommandType.TABLE));
return UnoRuntime.queryInterface(XLoadable.class, the_form);
}