diff options
author | Noel Grandin <noel@peralex.com> | 2012-08-21 08:39:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-28 16:15:42 +0200 |
commit | ff77676612d8ca7874ba0616ff1841f556f4ddb2 (patch) | |
tree | 1d0f9b8bea8d7fc583654734805019b891f4257c /toolkit | |
parent | 2caf5d19376f211bce78c9ecf040fa686201befc (diff) |
Java cleanup - remove unused imports
Change-Id: I7eb24b2d552ec5da752b58ba790ed58fb88728b0
Diffstat (limited to 'toolkit')
37 files changed, 1 insertions, 183 deletions
diff --git a/toolkit/qa/complex/toolkit/awtgrid/TMutableGridDataModel.java b/toolkit/qa/complex/toolkit/awtgrid/TMutableGridDataModel.java index c550dd9a047d..671d43a24faa 100644 --- a/toolkit/qa/complex/toolkit/awtgrid/TMutableGridDataModel.java +++ b/toolkit/qa/complex/toolkit/awtgrid/TMutableGridDataModel.java @@ -26,7 +26,6 @@ package complex.toolkit.awtgrid; -import java.lang.reflect.Method; import com.sun.star.awt.grid.GridDataEvent; import com.sun.star.awt.grid.XMutableGridDataModel; import com.sun.star.lang.IllegalArgumentException; diff --git a/toolkit/test/accessibility/AccessibilityTree.java b/toolkit/test/accessibility/AccessibilityTree.java index fc08f6300eb6..f1c4ffc024b0 100644 --- a/toolkit/test/accessibility/AccessibilityTree.java +++ b/toolkit/test/accessibility/AccessibilityTree.java @@ -17,10 +17,6 @@ */ import com.sun.star.accessibility.*; -import com.sun.star.lang.XServiceInfo; -import com.sun.star.lang.IndexOutOfBoundsException; -import com.sun.star.uno.UnoRuntime; - import java.util.Vector; import java.awt.*; import java.awt.event.*; diff --git a/toolkit/test/accessibility/AccessibilityTreeModel.java b/toolkit/test/accessibility/AccessibilityTreeModel.java index 82357f2b672f..fd4d961833cb 100644 --- a/toolkit/test/accessibility/AccessibilityTreeModel.java +++ b/toolkit/test/accessibility/AccessibilityTreeModel.java @@ -22,17 +22,9 @@ import javax.swing.tree.TreePath; import java.util.Vector; -import java.util.HashMap; -import java.util.Enumeration; - import com.sun.star.accessibility.*; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.XInterface; -import com.sun.star.uno.Any; -import com.sun.star.lang.EventObject; -import com.sun.star.lang.XServiceInfo; -import com.sun.star.lang.XServiceName; public class AccessibilityTreeModel extends AccessibilityTreeModelBase diff --git a/toolkit/test/accessibility/AccessibilityTreeModelBase.java b/toolkit/test/accessibility/AccessibilityTreeModelBase.java index 7a74577e78ae..b34711bea232 100644 --- a/toolkit/test/accessibility/AccessibilityTreeModelBase.java +++ b/toolkit/test/accessibility/AccessibilityTreeModelBase.java @@ -19,7 +19,6 @@ import javax.swing.tree.TreeModel; import javax.swing.event.TreeModelListener; import javax.swing.tree.TreePath; -import javax.swing.event.TreeModelEvent; import java.util.Vector; public class AccessibilityTreeModelBase diff --git a/toolkit/test/accessibility/AccessibilityWorkBench.java b/toolkit/test/accessibility/AccessibilityWorkBench.java index fb52dc46bc76..74541a7e1f2b 100644 --- a/toolkit/test/accessibility/AccessibilityWorkBench.java +++ b/toolkit/test/accessibility/AccessibilityWorkBench.java @@ -16,46 +16,20 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -import com.sun.star.awt.XWindow; -import com.sun.star.beans.XPropertySet; -import com.sun.star.beans.XPropertyChangeListener; -import com.sun.star.beans.PropertyChangeEvent; -import com.sun.star.container.XEnumerationAccess; -import com.sun.star.container.XEnumeration; -import com.sun.star.document.XEventListener; -import com.sun.star.drawing.XDrawPage; -import com.sun.star.drawing.XDrawView; -import com.sun.star.frame.XController; import com.sun.star.frame.XFrame; -import com.sun.star.frame.XFrameActionListener; -import com.sun.star.frame.FrameActionEvent; -import com.sun.star.frame.FrameAction; -import com.sun.star.lang.XComponent; -import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.lang.XServiceInfo; -import com.sun.star.frame.XDesktop; import com.sun.star.frame.XModel; import com.sun.star.frame.XTerminateListener; import com.sun.star.uno.UnoRuntime; -import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; -import com.sun.star.accessibility.XAccessibleComponent; -import com.sun.star.accessibility.XAccessibleExtendedComponent; -import com.sun.star.accessibility.XAccessibleRelationSet; -import com.sun.star.accessibility.XAccessibleStateSet; - import com.sun.star.awt.XExtendedToolkit; -import java.util.Vector; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.tree.*; import javax.swing.event.TreeSelectionListener; import javax.swing.event.TreeSelectionEvent; -import java.io.*; - import ov.ObjectViewContainer; /** This class manages the GUI of the work bench. diff --git a/toolkit/test/accessibility/AccessibleActionNode.java b/toolkit/test/accessibility/AccessibleActionNode.java index 198bc9c695bf..f4dc4f541704 100644 --- a/toolkit/test/accessibility/AccessibleActionNode.java +++ b/toolkit/test/accessibility/AccessibleActionNode.java @@ -17,7 +17,6 @@ */ import javax.swing.JOptionPane; -import com.sun.star.accessibility.XAccessibleAction; /** Base class for all tree nodes. diff --git a/toolkit/test/accessibility/AccessibleContextHandler.java b/toolkit/test/accessibility/AccessibleContextHandler.java index 9d761b704323..71fa7982a771 100644 --- a/toolkit/test/accessibility/AccessibleContextHandler.java +++ b/toolkit/test/accessibility/AccessibleContextHandler.java @@ -19,10 +19,6 @@ import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; import com.sun.star.accessibility.XAccessibleStateSet; -import com.sun.star.uno.UnoRuntime; -import com.sun.star.container.XIndexAccess; -import java.util.HashMap; - import tools.NameProvider; class AccessibleContextHandler diff --git a/toolkit/test/accessibility/AccessibleRelationHandler.java b/toolkit/test/accessibility/AccessibleRelationHandler.java index b1dd0708485f..9ce6a010296d 100644 --- a/toolkit/test/accessibility/AccessibleRelationHandler.java +++ b/toolkit/test/accessibility/AccessibleRelationHandler.java @@ -21,7 +21,6 @@ import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; import com.sun.star.accessibility.AccessibleRelation; import com.sun.star.accessibility.XAccessibleRelationSet; -import com.sun.star.accessibility.AccessibleRelationType; import com.sun.star.lang.IndexOutOfBoundsException; import tools.NameProvider; diff --git a/toolkit/test/accessibility/AccessibleSelectionHandler.java b/toolkit/test/accessibility/AccessibleSelectionHandler.java index 83798ca503ef..9c90ae1b1aa3 100644 --- a/toolkit/test/accessibility/AccessibleSelectionHandler.java +++ b/toolkit/test/accessibility/AccessibleSelectionHandler.java @@ -22,12 +22,6 @@ import com.sun.star.accessibility.XAccessibleContext; import com.sun.star.accessibility.XAccessibleSelection; import com.sun.star.lang.IndexOutOfBoundsException; -import javax.swing.*; -import java.awt.*; -import java.util.Vector; -import java.awt.event.ActionListener; -import java.awt.event.ActionEvent; - class AccessibleSelectionHandler diff --git a/toolkit/test/accessibility/AccessibleTextHandler.java b/toolkit/test/accessibility/AccessibleTextHandler.java index 5f1fe6472c88..bea1d8ab5706 100644 --- a/toolkit/test/accessibility/AccessibleTextHandler.java +++ b/toolkit/test/accessibility/AccessibleTextHandler.java @@ -28,7 +28,6 @@ import com.sun.star.uno.UnoRuntime; import com.sun.star.lang.IndexOutOfBoundsException; import com.sun.star.beans.PropertyValue; -import java.util.Vector; import java.awt.Container; import java.awt.FlowLayout; import java.awt.BorderLayout; diff --git a/toolkit/test/accessibility/AccessibleTreeHandler.java b/toolkit/test/accessibility/AccessibleTreeHandler.java index 8478117f7aa8..3e4a72c5ec2d 100644 --- a/toolkit/test/accessibility/AccessibleTreeHandler.java +++ b/toolkit/test/accessibility/AccessibleTreeHandler.java @@ -18,7 +18,6 @@ import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; -import com.sun.star.uno.UnoRuntime; import com.sun.star.lang.IndexOutOfBoundsException; diff --git a/toolkit/test/accessibility/AccessibleUNOHandler.java b/toolkit/test/accessibility/AccessibleUNOHandler.java index f904d354f574..68c09af47b4b 100644 --- a/toolkit/test/accessibility/AccessibleUNOHandler.java +++ b/toolkit/test/accessibility/AccessibleUNOHandler.java @@ -17,11 +17,7 @@ */ import com.sun.star.uno.UnoRuntime; -import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; -import com.sun.star.accessibility.AccessibleRelation; -import com.sun.star.accessibility.XAccessibleRelationSet; -import com.sun.star.accessibility.AccessibleRelationType; import com.sun.star.lang.XServiceInfo; import com.sun.star.lang.XTypeProvider; import com.sun.star.uno.Type; diff --git a/toolkit/test/accessibility/Canvas.java b/toolkit/test/accessibility/Canvas.java index fcf5c598fdc5..9fbce196150c 100644 --- a/toolkit/test/accessibility/Canvas.java +++ b/toolkit/test/accessibility/Canvas.java @@ -22,13 +22,8 @@ import java.awt.event.*; import javax.swing.*; import javax.swing.tree.*; import javax.swing.event.TreeSelectionListener; -import javax.swing.event.TreeSelectionEvent; import java.awt.geom.Rectangle2D; -import com.sun.star.accessibility.XAccessible; -import com.sun.star.accessibility.XAccessibleContext; -import com.sun.star.accessibility.XAccessibleComponent; - /** This canvas displays accessible objects graphically. Each accessible object with graphical representation is represented by an CanvasShape object and has to be added by the diff --git a/toolkit/test/accessibility/CanvasShape.java b/toolkit/test/accessibility/CanvasShape.java index 166b423fc502..f9a036bc543a 100644 --- a/toolkit/test/accessibility/CanvasShape.java +++ b/toolkit/test/accessibility/CanvasShape.java @@ -17,17 +17,11 @@ */ import java.awt.*; -import javax.swing.*; import javax.swing.tree.*; import java.awt.geom.Rectangle2D; -import com.sun.star.beans.XPropertyChangeListener; -import com.sun.star.beans.PropertyChangeEvent; - -import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; import com.sun.star.accessibility.XAccessibleComponent; -import com.sun.star.accessibility.XAccessibleExtendedComponent; import com.sun.star.accessibility.XAccessibleText; import com.sun.star.accessibility.XAccessibleStateSet; import com.sun.star.accessibility.AccessibleStateType; diff --git a/toolkit/test/accessibility/ContextEventHandler.java b/toolkit/test/accessibility/ContextEventHandler.java index efdba30baadf..a9095e05c314 100644 --- a/toolkit/test/accessibility/ContextEventHandler.java +++ b/toolkit/test/accessibility/ContextEventHandler.java @@ -16,10 +16,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.AccessibleEventObject; import com.sun.star.accessibility.AccessibleEventId; -import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.AnyConverter; import java.io.PrintStream; diff --git a/toolkit/test/accessibility/EventListener.java b/toolkit/test/accessibility/EventListener.java index 1b07baec2f0e..66fe5da5de67 100644 --- a/toolkit/test/accessibility/EventListener.java +++ b/toolkit/test/accessibility/EventListener.java @@ -16,24 +16,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -import javax.swing.tree.TreeModel; -import javax.swing.tree.TreePath; -import javax.swing.event.TreeModelListener; -import javax.swing.event.TreeModelEvent; - -import java.util.Vector; -import java.util.HashMap; -import java.util.Enumeration; - import com.sun.star.accessibility.*; -import com.sun.star.uno.*; - -import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.XInterface; -import com.sun.star.uno.Any; -import com.sun.star.lang.EventObject; -import com.sun.star.lang.XServiceInfo; -import com.sun.star.lang.XServiceName; /** Objects of this class (usually one, singleton?) listen to accessible events of all objects in all trees. diff --git a/toolkit/test/accessibility/EventQueue.java b/toolkit/test/accessibility/EventQueue.java index db00263c13b9..71c742f3897c 100644 --- a/toolkit/test/accessibility/EventQueue.java +++ b/toolkit/test/accessibility/EventQueue.java @@ -16,9 +16,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -import com.sun.star.accessibility.*; -import com.sun.star.lang.EventObject; - import java.util.LinkedList; /** The event queue singleton dispatches events received from OpenOffice.org diff --git a/toolkit/test/accessibility/FrameActionListener.java b/toolkit/test/accessibility/FrameActionListener.java index c697b3178ade..c031e0984939 100644 --- a/toolkit/test/accessibility/FrameActionListener.java +++ b/toolkit/test/accessibility/FrameActionListener.java @@ -17,9 +17,6 @@ */ import com.sun.star.frame.XFrameActionListener; -import com.sun.star.frame.FrameActionEvent; - -import com.sun.star.lang.EventObject; public class FrameActionListener implements XFrameActionListener diff --git a/toolkit/test/accessibility/GeometryEventHandler.java b/toolkit/test/accessibility/GeometryEventHandler.java index f69d8a57724d..883a886ba9e7 100644 --- a/toolkit/test/accessibility/GeometryEventHandler.java +++ b/toolkit/test/accessibility/GeometryEventHandler.java @@ -16,10 +16,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.AccessibleEventObject; -import com.sun.star.uno.UnoRuntime; - import java.io.PrintStream; import java.util.LinkedList; diff --git a/toolkit/test/accessibility/HelpWindow.java b/toolkit/test/accessibility/HelpWindow.java index eacd72ce3703..51300c6d8cae 100644 --- a/toolkit/test/accessibility/HelpWindow.java +++ b/toolkit/test/accessibility/HelpWindow.java @@ -24,7 +24,6 @@ import java.net.URL; import javax.swing.event.HyperlinkListener; import javax.swing.event.HyperlinkEvent; import java.net.MalformedURLException; -import java.io.IOException; import java.io.File; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; diff --git a/toolkit/test/accessibility/InformationWriter.java b/toolkit/test/accessibility/InformationWriter.java index f03ccf4d0095..0667cbe121c8 100644 --- a/toolkit/test/accessibility/InformationWriter.java +++ b/toolkit/test/accessibility/InformationWriter.java @@ -16,29 +16,11 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -import java.lang.Thread; - -import com.sun.star.awt.Rectangle; -import com.sun.star.awt.XWindow; - import com.sun.star.beans.Property; -import com.sun.star.beans.PropertyValue; import com.sun.star.beans.XPropertySet; import com.sun.star.beans.XPropertySetInfo; import com.sun.star.container.XIndexAccess; -import com.sun.star.container.XChild; -import com.sun.star.container.XEnumerationAccess; -import com.sun.star.container.XEnumeration; - -import com.sun.star.frame.XComponentLoader; -import com.sun.star.frame.XController; -import com.sun.star.frame.XDesktop; -import com.sun.star.frame.XFrame; -import com.sun.star.frame.XTasksSupplier; -import com.sun.star.frame.XTask; - -import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.lang.XServiceInfo; import com.sun.star.lang.XServiceName; @@ -48,9 +30,7 @@ import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XInterface; import com.sun.star.uno.Type; -import com.sun.star.drawing.XDrawView; import com.sun.star.drawing.XDrawPage; -import com.sun.star.drawing.XShapes; import com.sun.star.drawing.XShape; import com.sun.star.drawing.XShapeDescriptor; diff --git a/toolkit/test/accessibility/MessageArea.java b/toolkit/test/accessibility/MessageArea.java index 744ace690adf..d0a1094cb6b4 100644 --- a/toolkit/test/accessibility/MessageArea.java +++ b/toolkit/test/accessibility/MessageArea.java @@ -17,7 +17,6 @@ */ import java.awt.Font; -import java.awt.Rectangle; import java.awt.Color; import java.awt.Graphics; import javax.swing.JScrollPane; diff --git a/toolkit/test/accessibility/NodeFactory.java b/toolkit/test/accessibility/NodeFactory.java index c93834ff30f8..5a53b91d3c7b 100644 --- a/toolkit/test/accessibility/NodeFactory.java +++ b/toolkit/test/accessibility/NodeFactory.java @@ -17,8 +17,6 @@ */ import com.sun.star.accessibility.*; -import java.util.Vector; - import tools.NameProvider; /** This singleton class creates nodes for given accessible objects. diff --git a/toolkit/test/accessibility/OfficeConnection.java b/toolkit/test/accessibility/OfficeConnection.java index 98cf12ea6ac1..7a432e53ea1b 100644 --- a/toolkit/test/accessibility/OfficeConnection.java +++ b/toolkit/test/accessibility/OfficeConnection.java @@ -19,17 +19,8 @@ // base classes import com.sun.star.uno.UnoRuntime; -// factory for creating components -import com.sun.star.beans.PropertyValue; import com.sun.star.bridge.XUnoUrlResolver; -import com.sun.star.frame.XComponentLoader; -import com.sun.star.frame.XDesktop; -import com.sun.star.frame.XModel; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.uno.XInterface; - -// Exceptions -import com.sun.star.uno.RuntimeException; /** @descr This class establishes a connection to a LibreOffice application. diff --git a/toolkit/test/accessibility/Options.java b/toolkit/test/accessibility/Options.java index 23afebb511fb..565192817621 100644 --- a/toolkit/test/accessibility/Options.java +++ b/toolkit/test/accessibility/Options.java @@ -17,7 +17,6 @@ */ import java.io.File; -import java.io.FileReader; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.Properties; diff --git a/toolkit/test/accessibility/QueuedListener.java b/toolkit/test/accessibility/QueuedListener.java index 66ada8ba7f1e..76c95fa50e0f 100644 --- a/toolkit/test/accessibility/QueuedListener.java +++ b/toolkit/test/accessibility/QueuedListener.java @@ -19,9 +19,6 @@ import com.sun.star.accessibility.*; import com.sun.star.lang.EventObject; import com.sun.star.uno.*; -import com.sun.star.accessibility.*; - -import java.util.LinkedList; class QueuedListener implements XAccessibleEventListener diff --git a/toolkit/test/accessibility/SelectionDialog.java b/toolkit/test/accessibility/SelectionDialog.java index f677c8c20fca..042e47ff70d5 100644 --- a/toolkit/test/accessibility/SelectionDialog.java +++ b/toolkit/test/accessibility/SelectionDialog.java @@ -16,7 +16,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -import com.sun.star.uno.UnoRuntime; import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; import com.sun.star.accessibility.XAccessibleSelection; diff --git a/toolkit/test/accessibility/SimpleOffice.java b/toolkit/test/accessibility/SimpleOffice.java index 5874a9b5be28..6dfcab9c21d6 100644 --- a/toolkit/test/accessibility/SimpleOffice.java +++ b/toolkit/test/accessibility/SimpleOffice.java @@ -16,16 +16,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -import java.lang.Thread; - -import com.sun.star.awt.Rectangle; import com.sun.star.awt.XWindow; import com.sun.star.beans.PropertyValue; -import com.sun.star.beans.XPropertySet; - import com.sun.star.container.XIndexAccess; -import com.sun.star.container.XChild; import com.sun.star.container.XEnumerationAccess; import com.sun.star.container.XEnumeration; @@ -39,26 +33,13 @@ import com.sun.star.frame.XTask; import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.lang.XServiceInfo; -import com.sun.star.lang.XServiceName; -import com.sun.star.lang.XTypeProvider; - import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XInterface; -import com.sun.star.uno.Type; - import com.sun.star.drawing.XDrawView; import com.sun.star.drawing.XDrawPage; -import com.sun.star.drawing.XShapes; import com.sun.star.drawing.XShape; -import com.sun.star.drawing.XShapeDescriptor; - import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; -import com.sun.star.accessibility.XAccessibleComponent; -import com.sun.star.accessibility.XAccessibleRelationSet; -import com.sun.star.accessibility.XAccessibleStateSet; - import com.sun.star.awt.XExtendedToolkit; diff --git a/toolkit/test/accessibility/StringNode.java b/toolkit/test/accessibility/StringNode.java index 8faa7abd458d..f424c3b6c17c 100644 --- a/toolkit/test/accessibility/StringNode.java +++ b/toolkit/test/accessibility/StringNode.java @@ -16,7 +16,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -import com.sun.star.lang.IndexOutOfBoundsException; + /** Base class for all tree nodes. diff --git a/toolkit/test/accessibility/TableEventHandler.java b/toolkit/test/accessibility/TableEventHandler.java index 363e665aff9d..ba3de6aad2ef 100644 --- a/toolkit/test/accessibility/TableEventHandler.java +++ b/toolkit/test/accessibility/TableEventHandler.java @@ -20,8 +20,6 @@ import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.AccessibleEventObject; import com.sun.star.accessibility.AccessibleEventId; import com.sun.star.accessibility.AccessibleTableModelChange; -import com.sun.star.uno.UnoRuntime; - import java.io.PrintStream; class TableEventHandler diff --git a/toolkit/test/accessibility/TextLogger.java b/toolkit/test/accessibility/TextLogger.java index f1880e617646..f26ecd164b28 100644 --- a/toolkit/test/accessibility/TextLogger.java +++ b/toolkit/test/accessibility/TextLogger.java @@ -20,7 +20,6 @@ import javax.swing.JEditorPane; import javax.swing.event.HyperlinkListener; import javax.swing.event.HyperlinkEvent; import javax.swing.text.Document; -import java.net.URL; class TextLogger extends JEditorPane diff --git a/toolkit/test/accessibility/TopWindowListener.java b/toolkit/test/accessibility/TopWindowListener.java index 9de9aea19574..32d56dc11d45 100644 --- a/toolkit/test/accessibility/TopWindowListener.java +++ b/toolkit/test/accessibility/TopWindowListener.java @@ -20,9 +20,7 @@ import com.sun.star.awt.XWindow; import com.sun.star.awt.XExtendedToolkit; import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; -import com.sun.star.uno.XInterface; import com.sun.star.uno.UnoRuntime; -import javax.swing.event.TreeModelEvent; /** Listen for top window events and create or delete children of the tree model accordingly. diff --git a/toolkit/test/accessibility/ov/ContextView.java b/toolkit/test/accessibility/ov/ContextView.java index a2b870cd6b6a..36d03694bbfe 100644 --- a/toolkit/test/accessibility/ov/ContextView.java +++ b/toolkit/test/accessibility/ov/ContextView.java @@ -19,7 +19,6 @@ package ov; import java.awt.Color; -import java.awt.Dimension; import java.awt.GridBagLayout; import java.awt.GridBagConstraints; @@ -27,8 +26,6 @@ import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.JLabel; -import javax.swing.JTextField; - import com.sun.star.accessibility.AccessibleEventId; import com.sun.star.accessibility.AccessibleEventObject; import com.sun.star.accessibility.XAccessibleContext; diff --git a/toolkit/test/accessibility/ov/FocusView.java b/toolkit/test/accessibility/ov/FocusView.java index f38bf6d1ab76..da47eb293fcc 100644 --- a/toolkit/test/accessibility/ov/FocusView.java +++ b/toolkit/test/accessibility/ov/FocusView.java @@ -18,7 +18,6 @@ package ov; -import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionListener; diff --git a/toolkit/test/accessibility/ov/ObjectViewContainer.java b/toolkit/test/accessibility/ov/ObjectViewContainer.java index df9320ae368a..49916d6cc1f8 100644 --- a/toolkit/test/accessibility/ov/ObjectViewContainer.java +++ b/toolkit/test/accessibility/ov/ObjectViewContainer.java @@ -18,7 +18,6 @@ package ov; -import java.awt.Color; import java.awt.Component; import java.awt.GridBagLayout; import java.awt.GridBagConstraints; @@ -38,9 +37,6 @@ import javax.swing.border.Border; import javax.swing.border.BevelBorder; import com.sun.star.accessibility.XAccessibleContext; -import com.sun.star.accessibility.XAccessibleComponent; -import com.sun.star.accessibility.XAccessibleSelection; -import com.sun.star.uno.UnoRuntime; public class ObjectViewContainer diff --git a/toolkit/test/accessibility/ov/SelectionView.java b/toolkit/test/accessibility/ov/SelectionView.java index b40f51f89210..ba5b2df8eec3 100644 --- a/toolkit/test/accessibility/ov/SelectionView.java +++ b/toolkit/test/accessibility/ov/SelectionView.java @@ -18,12 +18,9 @@ package ov; -import java.util.Vector; - import java.awt.event.ActionListener; import java.awt.event.ActionEvent; -import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.GridBagLayout; import java.awt.GridBagConstraints; @@ -33,15 +30,10 @@ import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JLabel; -import javax.swing.JList; import javax.swing.JPanel; -import javax.swing.JOptionPane; import javax.swing.JRadioButton; import javax.swing.JScrollPane; import javax.swing.JToggleButton; -import javax.swing.ListSelectionModel; - - import com.sun.star.accessibility.AccessibleEventId; import com.sun.star.accessibility.AccessibleEventObject; import com.sun.star.accessibility.AccessibleStateType; diff --git a/toolkit/test/accessibility/ov/TextView.java b/toolkit/test/accessibility/ov/TextView.java index a7baff8979c8..d5a551ef4f30 100644 --- a/toolkit/test/accessibility/ov/TextView.java +++ b/toolkit/test/accessibility/ov/TextView.java @@ -18,21 +18,14 @@ package ov; -import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; -import java.awt.event.ActionListener; -import java.awt.event.ActionEvent; - -import javax.swing.JButton; import javax.swing.JLabel; import com.sun.star.accessibility.AccessibleEventId; import com.sun.star.accessibility.AccessibleEventObject; -import com.sun.star.accessibility.AccessibleStateType; import com.sun.star.accessibility.XAccessibleText; import com.sun.star.accessibility.XAccessibleContext; -import com.sun.star.accessibility.XAccessibleStateSet; import com.sun.star.uno.UnoRuntime; public class TextView |