summaryrefslogtreecommitdiff
path: root/forms/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-08-30 16:37:24 +0200
committerMichael Stahl <mstahl@redhat.com>2012-09-06 17:13:58 +0200
commitbf4352084b991981975a24a8e61cbb3cbf3e0159 (patch)
tree0cdda83cb01e1fcfc43c63c0993286a5883d6a9f /forms/qa
parent80891ead730bf1df084d84e89157e5411f3ae0bc (diff)
Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
Diffstat (limited to 'forms/qa')
-rw-r--r--forms/qa/complex/forms/CheckOGroupBoxModel.java2
-rw-r--r--forms/qa/integration/forms/ControlValidation.java4
-rw-r--r--forms/qa/integration/forms/DateValidator.java2
-rw-r--r--forms/qa/integration/forms/FormControlTest.java1
-rw-r--r--forms/qa/integration/forms/ListSelection.java1
-rw-r--r--forms/qa/integration/forms/NumericValidator.java2
-rw-r--r--forms/qa/integration/forms/RadioButtons.java5
-rw-r--r--forms/qa/integration/forms/SingleControlValidation.java4
-rw-r--r--forms/qa/integration/forms/SpreadsheetView.java1
-rw-r--r--forms/qa/integration/forms/TableCellTextBinding.java2
-rw-r--r--forms/qa/integration/forms/TextValidator.java2
-rw-r--r--forms/qa/integration/forms/TimeValidator.java2
-rw-r--r--forms/qa/integration/forms/ValueBinding.java2
-rw-r--r--forms/qa/org/openoffice/xforms/Model.java4
14 files changed, 0 insertions, 34 deletions
diff --git a/forms/qa/complex/forms/CheckOGroupBoxModel.java b/forms/qa/complex/forms/CheckOGroupBoxModel.java
index af23936e41d8..33b6c2ed3dcd 100644
--- a/forms/qa/complex/forms/CheckOGroupBoxModel.java
+++ b/forms/qa/complex/forms/CheckOGroupBoxModel.java
@@ -31,8 +31,6 @@ import com.sun.star.uno.UnoRuntime;
import com.sun.star.util.CloseVetoException;
import com.sun.star.util.XCloseable;
import java.util.Vector;
-import java.util.logging.Level;
-import java.util.logging.Logger;
import util.FormTools;
import util.SOfficeFactory;
import util.ValueChanger;
diff --git a/forms/qa/integration/forms/ControlValidation.java b/forms/qa/integration/forms/ControlValidation.java
index ca8f2f3a8107..384238710d9a 100644
--- a/forms/qa/integration/forms/ControlValidation.java
+++ b/forms/qa/integration/forms/ControlValidation.java
@@ -21,11 +21,7 @@ package integration.forms;
import com.sun.star.uno.*;
import com.sun.star.util.*;
import com.sun.star.lang.*;
-import com.sun.star.accessibility.*;
-import com.sun.star.container.*;
import com.sun.star.beans.*;
-import com.sun.star.form.binding.*;
-
import integration.forms.DocumentHelper;
import integration.forms.NumericValidator;
import integration.forms.TextValidator;
diff --git a/forms/qa/integration/forms/DateValidator.java b/forms/qa/integration/forms/DateValidator.java
index 791aee2963ed..976510b61681 100644
--- a/forms/qa/integration/forms/DateValidator.java
+++ b/forms/qa/integration/forms/DateValidator.java
@@ -17,8 +17,6 @@
*/
package integration.forms;
-import com.sun.star.form.binding.*;
-
public class DateValidator extends integration.forms.ControlValidator
{
diff --git a/forms/qa/integration/forms/FormControlTest.java b/forms/qa/integration/forms/FormControlTest.java
index fc495348c4a4..488c3877a077 100644
--- a/forms/qa/integration/forms/FormControlTest.java
+++ b/forms/qa/integration/forms/FormControlTest.java
@@ -30,7 +30,6 @@ import com.sun.star.sdb.CommandType;
import com.sun.star.sdb.SQLErrorEvent;
import com.sun.star.sdb.XSQLErrorBroadcaster;
import com.sun.star.sdb.XSQLErrorListener;
-import com.sun.star.sdbc.XConnection;
import com.sun.star.sdbc.XDataSource;
import com.sun.star.sdbc.XResultSet;
import com.sun.star.sdbc.XResultSetUpdate;
diff --git a/forms/qa/integration/forms/ListSelection.java b/forms/qa/integration/forms/ListSelection.java
index b6f963d5755a..a7a03889ad4a 100644
--- a/forms/qa/integration/forms/ListSelection.java
+++ b/forms/qa/integration/forms/ListSelection.java
@@ -26,7 +26,6 @@ import com.sun.star.container.XNamed;
import com.sun.star.container.XNameContainer;
import com.sun.star.container.XIndexContainer;
import com.sun.star.drawing.XDrawPageSupplier;
-import com.sun.star.awt.XControl;
import com.sun.star.awt.XControlModel;
import com.sun.star.awt.XListBox;
import com.sun.star.script.XLibraryContainer;
diff --git a/forms/qa/integration/forms/NumericValidator.java b/forms/qa/integration/forms/NumericValidator.java
index a425a36af285..0d5a74e8621d 100644
--- a/forms/qa/integration/forms/NumericValidator.java
+++ b/forms/qa/integration/forms/NumericValidator.java
@@ -17,8 +17,6 @@
*/
package integration.forms;
-import com.sun.star.form.binding.*;
-
public class NumericValidator extends integration.forms.ControlValidator
{
diff --git a/forms/qa/integration/forms/RadioButtons.java b/forms/qa/integration/forms/RadioButtons.java
index 835d705a0b3b..e883f8a6ef08 100644
--- a/forms/qa/integration/forms/RadioButtons.java
+++ b/forms/qa/integration/forms/RadioButtons.java
@@ -28,11 +28,6 @@ import integration.forms.dbfTools;
import integration.forms.DocumentHelper;
import integration.forms.SpreadsheetDocument;
-import util.utils;
-import java.util.*;
-import java.io.*;
-import java.lang.*;
-
public class RadioButtons extends complexlib.ComplexTestCase
{
private DocumentHelper m_document; /// our current test document
diff --git a/forms/qa/integration/forms/SingleControlValidation.java b/forms/qa/integration/forms/SingleControlValidation.java
index 7cadf9eb0262..ac54510f6357 100644
--- a/forms/qa/integration/forms/SingleControlValidation.java
+++ b/forms/qa/integration/forms/SingleControlValidation.java
@@ -19,12 +19,8 @@
package integration.forms;
import com.sun.star.uno.*;
-import com.sun.star.util.*;
import com.sun.star.lang.*;
-import com.sun.star.accessibility.*;
-import com.sun.star.container.*;
import com.sun.star.beans.*;
-import com.sun.star.form.binding.*;
import com.sun.star.form.validation.*;
import integration.forms.DocumentHelper;
diff --git a/forms/qa/integration/forms/SpreadsheetView.java b/forms/qa/integration/forms/SpreadsheetView.java
index ec39d16f743e..c4337ea188b0 100644
--- a/forms/qa/integration/forms/SpreadsheetView.java
+++ b/forms/qa/integration/forms/SpreadsheetView.java
@@ -29,7 +29,6 @@ import com.sun.star.frame.*;
import com.sun.star.sheet.*;
import com.sun.star.container.*;
-import integration.forms.DocumentViewHelper;
import integration.forms.DocumentHelper;
/**
diff --git a/forms/qa/integration/forms/TableCellTextBinding.java b/forms/qa/integration/forms/TableCellTextBinding.java
index e122a820f80b..04f2434cb0ce 100644
--- a/forms/qa/integration/forms/TableCellTextBinding.java
+++ b/forms/qa/integration/forms/TableCellTextBinding.java
@@ -22,9 +22,7 @@ import com.sun.star.uno.Type;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.table.XCell;
import com.sun.star.util.XModifyListener;
-import com.sun.star.beans.XPropertySet;
import com.sun.star.text.XTextRange;
-import com.sun.star.form.binding.IncompatibleTypesException;
/** a value binding to be connected to a form control
diff --git a/forms/qa/integration/forms/TextValidator.java b/forms/qa/integration/forms/TextValidator.java
index fab1aa00e785..32b76b42d0af 100644
--- a/forms/qa/integration/forms/TextValidator.java
+++ b/forms/qa/integration/forms/TextValidator.java
@@ -17,8 +17,6 @@
*/
package integration.forms;
-import com.sun.star.form.binding.*;
-
public class TextValidator extends integration.forms.ControlValidator
{
diff --git a/forms/qa/integration/forms/TimeValidator.java b/forms/qa/integration/forms/TimeValidator.java
index fd7214f44407..ab9f036c2b67 100644
--- a/forms/qa/integration/forms/TimeValidator.java
+++ b/forms/qa/integration/forms/TimeValidator.java
@@ -17,8 +17,6 @@
*/
package integration.forms;
-import com.sun.star.form.binding.*;
-
public class TimeValidator extends integration.forms.ControlValidator
{
diff --git a/forms/qa/integration/forms/ValueBinding.java b/forms/qa/integration/forms/ValueBinding.java
index b07d29d3dc2e..33773a0c7c5a 100644
--- a/forms/qa/integration/forms/ValueBinding.java
+++ b/forms/qa/integration/forms/ValueBinding.java
@@ -19,7 +19,6 @@ package integration.forms;
import com.sun.star.uno.UnoRuntime;
-import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.beans.XPropertySet;
import com.sun.star.text.XTextDocument;
import com.sun.star.text.XText;
@@ -28,7 +27,6 @@ import com.sun.star.text.XTextCursor;
import com.sun.star.form.binding.XValueBinding;
import com.sun.star.form.binding.XBindableValue;
-import integration.forms.DocumentHelper;
import integration.forms.TableCellTextBinding;
public class ValueBinding extends integration.forms.TestCase
diff --git a/forms/qa/org/openoffice/xforms/Model.java b/forms/qa/org/openoffice/xforms/Model.java
index 1b1afc150e5a..dba329f5e3f9 100644
--- a/forms/qa/org/openoffice/xforms/Model.java
+++ b/forms/qa/org/openoffice/xforms/Model.java
@@ -23,11 +23,7 @@
package org.openoffice.xforms;
-import com.sun.star.beans.PropertyVetoException;
-import com.sun.star.beans.UnknownPropertyException;
import com.sun.star.beans.XPropertySet;
-import com.sun.star.lang.IllegalArgumentException;
-import com.sun.star.lang.WrappedTargetException;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.xforms.XFormsUIHelper1;
import com.sun.star.xforms.XModel;