diff options
author | Noel Grandin <noel@peralex.com> | 2012-08-30 16:37:24 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-09-06 17:13:58 +0200 |
commit | bf4352084b991981975a24a8e61cbb3cbf3e0159 (patch) | |
tree | 0cdda83cb01e1fcfc43c63c0993286a5883d6a9f | |
parent | 80891ead730bf1df084d84e89157e5411f3ae0bc (diff) |
Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
92 files changed, 0 insertions, 384 deletions
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java index bf0e079075d8..f2dbbaa2d433 100644 --- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java +++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java @@ -34,7 +34,6 @@ import com.sun.star.bridge.XBridgeFactory; import com.sun.star.beans.XPropertySet; import com.sun.star.uno.XComponentContext; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.Exception; import com.sun.star.lib.uno.helper.UnoUrl; import com.sun.star.lib.util.NativeLibraryLoader; diff --git a/bean/qa/complex/bean/OOoBeanTest.java b/bean/qa/complex/bean/OOoBeanTest.java index 8a394d2299d1..ae256ddef303 100644 --- a/bean/qa/complex/bean/OOoBeanTest.java +++ b/bean/qa/complex/bean/OOoBeanTest.java @@ -18,8 +18,6 @@ package complex.bean; -// import complexlib.ComplexTestCase; -import com.sun.star.lang.XMultiServiceFactory; import java.awt.event.*; import java.awt.event.KeyEvent; import com.sun.star.comp.beans.OOoBean; diff --git a/bean/test/Test.java b/bean/test/Test.java index 47ec6ad4d287..94f277069ce5 100644 --- a/bean/test/Test.java +++ b/bean/test/Test.java @@ -18,14 +18,9 @@ package test; -import java.io.*; import java.awt.*; import java.awt.event.*; import com.sun.star.comp.beans.OOoBean; -import com.sun.star.uno.UnoRuntime; - - -import java.awt.*; public class Test { diff --git a/bean/test/applet/oooapplet/OOoViewer.java b/bean/test/applet/oooapplet/OOoViewer.java index 192c7dac04e4..ae77242af5a8 100644 --- a/bean/test/applet/oooapplet/OOoViewer.java +++ b/bean/test/applet/oooapplet/OOoViewer.java @@ -22,7 +22,6 @@ import java.lang.reflect.Array; import java.net.*; import java.io.*; import java.awt.*; -import java.awt.event.*; import com.sun.star.comp.beans.*; import java.applet.Applet; import java.awt.Graphics; diff --git a/chart2/qa/TestCaseOldAPI.java b/chart2/qa/TestCaseOldAPI.java index 79406094fda1..5792f52483c3 100644 --- a/chart2/qa/TestCaseOldAPI.java +++ b/chart2/qa/TestCaseOldAPI.java @@ -27,8 +27,6 @@ import com.sun.star.uno.Type; import com.sun.star.uno.XComponentContext; import java.io.PrintWriter; -import java.util.Hashtable; - import com.sun.star.lang.*; import com.sun.star.beans.*; import com.sun.star.frame.*; @@ -40,7 +38,6 @@ import com.sun.star.util.XCloseable; import com.sun.star.util.CloseVetoException; import com.sun.star.uno.AnyConverter; -import com.sun.star.comp.helper.ComponentContext; /** * The following Complex Test will test the diff --git a/connectivity/qa/connectivity/tools/FlatFileDatabase.java b/connectivity/qa/connectivity/tools/FlatFileDatabase.java index e45f4718d666..03112d5c3c17 100644 --- a/connectivity/qa/connectivity/tools/FlatFileDatabase.java +++ b/connectivity/qa/connectivity/tools/FlatFileDatabase.java @@ -22,7 +22,6 @@ import com.sun.star.beans.XPropertySet; import com.sun.star.frame.XStorable; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.sdb.XOfficeDatabaseDocument; -import com.sun.star.sdbc.SQLException; import com.sun.star.uno.UnoRuntime; import helper.URLHelper; diff --git a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java b/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java index 15b06157c5c5..1f758dd9824a 100644 --- a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java +++ b/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java @@ -24,13 +24,8 @@ import com.sun.star.lang.XMultiComponentFactory; import com.sun.star.lang.XSingleComponentFactory; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.lang.WrappedTargetException; -import com.sun.star.lang.IllegalArgumentException; -import com.sun.star.lang.XInitialization; -import com.sun.star.lang.XTypeProvider; import com.sun.star.lang.XServiceInfo; -import com.sun.star.lang.WrappedTargetException; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.Any; import com.sun.star.uno.AnyConverter; import com.sun.star.uno.XComponentContext; import com.sun.star.uno.Exception; @@ -40,11 +35,8 @@ import com.sun.star.awt.XControl; import com.sun.star.awt.XControlModel; import com.sun.star.awt.XControlContainer; import com.sun.star.container.XNameAccess; -import com.sun.star.container.NoSuchElementException; import com.sun.star.beans.NamedValue; import com.sun.star.beans.XPropertySet; -import com.sun.star.beans.UnknownPropertyException; -import com.sun.star.beans.PropertyVetoException; import com.sun.star.util.XChangesBatch; /** A handler which supports multiple options pages which all diff --git a/extensions/qa/integration/extensions/ServicesHandler.java b/extensions/qa/integration/extensions/ServicesHandler.java index 7fa2c1d71c16..426b5e1a9436 100644 --- a/extensions/qa/integration/extensions/ServicesHandler.java +++ b/extensions/qa/integration/extensions/ServicesHandler.java @@ -18,14 +18,11 @@ package integration.extensions; -import com.sun.star.lang.ClassNotFoundException; import com.sun.star.uno.*; import com.sun.star.beans.*; import com.sun.star.inspection.*; import com.sun.star.frame.*; import com.sun.star.lang.XServiceInfo; -import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.lang.XSingleComponentFactory; /** * diff --git a/extensions/qa/integration/extensions/TestSkeleton.java b/extensions/qa/integration/extensions/TestSkeleton.java index 5b5273ed0306..f196f8b3e658 100644 --- a/extensions/qa/integration/extensions/TestSkeleton.java +++ b/extensions/qa/integration/extensions/TestSkeleton.java @@ -18,7 +18,6 @@ package integration.extensions; -import com.sun.star.uno.UnoRuntime; import com.sun.star.lang.XMultiServiceFactory; public class TestSkeleton extends complexlib.ComplexTestCase diff --git a/filter/qa/complex/filter/detection/typeDetection/Helper.java b/filter/qa/complex/filter/detection/typeDetection/Helper.java index 70cf7c4d86fd..233f42a24aa2 100644 --- a/filter/qa/complex/filter/detection/typeDetection/Helper.java +++ b/filter/qa/complex/filter/detection/typeDetection/Helper.java @@ -26,7 +26,6 @@ import helper.StreamSimulator; import java.io.*; import java.net.URL; import java.net.URLConnection; -import java.util.Enumeration; import java.util.Iterator; import java.util.HashMap; import java.util.StringTokenizer; diff --git a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java index 094a2ddd8d90..41ae313d2206 100644 --- a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java +++ b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java @@ -28,9 +28,6 @@ import complexlib.ComplexTestCase; import java.io.File; import java.util.Iterator; -import java.util.Enumeration; -import java.util.Hashtable; -import java.util.Vector; import java.util.ArrayList; import util.utils; diff --git a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java index d8f1bc845685..6eca42fd08e1 100644 --- a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java +++ b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java @@ -32,8 +32,6 @@ import com.sun.star.util.XFlushable; // import complexlib.ComplexTestCase; // import util.utils; -// ---------- junit imports ----------------- -import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; diff --git a/filter/qa/complex/filter/misc/TypeDetection6FileFormat.java b/filter/qa/complex/filter/misc/TypeDetection6FileFormat.java index 5a458c699a13..19c78d0d5f6a 100644 --- a/filter/qa/complex/filter/misc/TypeDetection6FileFormat.java +++ b/filter/qa/complex/filter/misc/TypeDetection6FileFormat.java @@ -30,8 +30,6 @@ import com.sun.star.uno.XInterface; import util.utils; -// ---------- junit imports ----------------- -import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; 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; diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java index 576a8f512afd..829ebe60c6f6 100644 --- a/framework/qa/complex/XUserInputInterception/EventTest.java +++ b/framework/qa/complex/XUserInputInterception/EventTest.java @@ -30,7 +30,6 @@ import com.sun.star.awt.XKeyHandler; import com.sun.star.awt.XMouseClickHandler; import com.sun.star.awt.XUserInputInterception; import com.sun.star.awt.XWindow; -import com.sun.star.chart.XChartDocument; import com.sun.star.frame.*; import com.sun.star.lang.*; import com.sun.star.lang.EventObject; @@ -45,8 +44,6 @@ import java.awt.event.InputEvent; import util.AccessibilityTools; import util.SOfficeFactory; -// ---------- junit imports ----------------- -import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; diff --git a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java index 8c14b812690f..96f24e57da30 100644 --- a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java +++ b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java @@ -22,7 +22,6 @@ import com.sun.star.awt.KeyEvent; import com.sun.star.beans.PropertyValue; import com.sun.star.beans.XPropertySet; import com.sun.star.container.XNameAccess; -import com.sun.star.container.XNameContainer; import com.sun.star.embed.XStorage; import com.sun.star.embed.XTransactedObject; import com.sun.star.lang.XInitialization; @@ -33,7 +32,6 @@ import com.sun.star.ui.XUIConfigurationManager; import com.sun.star.ui.XUIConfigurationPersistence; import com.sun.star.ui.XUIConfigurationStorage; import com.sun.star.uno.AnyConverter; -import com.sun.star.uno.XInterface; import com.sun.star.uno.UnoRuntime; import com.sun.star.util.XChangesBatch; diff --git a/framework/qa/complex/api_internal/CheckAPI.java b/framework/qa/complex/api_internal/CheckAPI.java index 96d734fd8365..a57afecd015a 100644 --- a/framework/qa/complex/api_internal/CheckAPI.java +++ b/framework/qa/complex/api_internal/CheckAPI.java @@ -27,8 +27,6 @@ import helper.ProcessHandler; import java.util.ArrayList; import java.util.StringTokenizer; -import java.util.Vector; - import lib.TestParameters; import org.junit.AfterClass; diff --git a/framework/qa/complex/broken_document/LoadDocument.java b/framework/qa/complex/broken_document/LoadDocument.java index 1b9916019ecb..b599f0450145 100644 --- a/framework/qa/complex/broken_document/LoadDocument.java +++ b/framework/qa/complex/broken_document/LoadDocument.java @@ -25,10 +25,7 @@ import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.UnoRuntime; -// ---------- junit imports ----------------- -import org.junit.After; import org.junit.AfterClass; -import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.openoffice.test.OfficeConnection; diff --git a/framework/qa/complex/desktop/DesktopTerminate.java b/framework/qa/complex/desktop/DesktopTerminate.java index 1abfb873081a..692cdbb16af8 100644 --- a/framework/qa/complex/desktop/DesktopTerminate.java +++ b/framework/qa/complex/desktop/DesktopTerminate.java @@ -21,12 +21,7 @@ package complex.desktop; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.frame.XDesktop; import com.sun.star.uno.UnoRuntime; -import helper.OfficeProvider; - -// ---------- junit imports ----------------- -import org.junit.After; import org.junit.AfterClass; -import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.openoffice.test.OfficeConnection; diff --git a/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java b/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java index b1aece415147..d241f70baf04 100644 --- a/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java +++ b/framework/qa/complex/disposing/GetServiceWhileDisposingOffice.java @@ -21,10 +21,7 @@ import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.UnoRuntime; import com.sun.star.frame.XDesktop; -// ---------- junit imports ----------------- -import org.junit.After; import org.junit.AfterClass; -import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.openoffice.test.OfficeConnection; diff --git a/framework/qa/complex/framework/autosave/AutoSave.java b/framework/qa/complex/framework/autosave/AutoSave.java index 5116d7c762ea..015fa3804961 100644 --- a/framework/qa/complex/framework/autosave/AutoSave.java +++ b/framework/qa/complex/framework/autosave/AutoSave.java @@ -26,7 +26,6 @@ import com.sun.star.frame.XDispatch; import com.sun.star.frame.XDispatchProvider; import com.sun.star.frame.XModel; import com.sun.star.frame.XStatusListener; -import com.sun.star.frame.XStorable; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.sheet.FillDirection; import com.sun.star.sheet.XCellSeries; diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java index 8a78cdb5ac5e..3c78f43ea224 100644 --- a/framework/qa/complex/framework/autosave/Protocol.java +++ b/framework/qa/complex/framework/autosave/Protocol.java @@ -20,33 +20,9 @@ package complex.framework.autosave; // __________ Imports __________ -// structs, const, ... -import com.sun.star.beans.PropertyValue; -import com.sun.star.bridge.XUnoUrlResolver; - -// exceptions -import com.sun.star.container.NoSuchElementException; -import com.sun.star.uno.Exception; -import com.sun.star.uno.RuntimeException; -import java.io.IOException; -import java.lang.InterruptedException; -import java.net.ConnectException; - -// interfaces -import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.uno.Any; - -// helper -import com.sun.star.uno.IBridge; -import com.sun.star.uno.UnoRuntime; - // others import javax.swing.*; -import javax.swing.border.*; -import java.awt.*; -import java.lang.*; import java.io.*; -import java.util.*; import java.sql.*; // __________ Implementation __________ diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java index 470eabefc522..39e58b8d8dd5 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTest.java +++ b/framework/qa/complex/framework/recovery/RecoveryTest.java @@ -18,51 +18,22 @@ package complex.framework.recovery; -import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; import com.sun.star.awt.Rectangle; import com.sun.star.awt.Size; import com.sun.star.awt.XDialog; -import com.sun.star.awt.XExtendedToolkit; import com.sun.star.awt.XWindow; -import com.sun.star.beans.XPropertySet; import com.sun.star.container.XEnumeration; -import com.sun.star.container.XIndexAccess; -import com.sun.star.container.XNameContainer; -import com.sun.star.drawing.XDrawPage; -import com.sun.star.drawing.XDrawPages; -import com.sun.star.drawing.XDrawPagesSupplier; -import com.sun.star.drawing.XShape; -import com.sun.star.drawing.XShapes; -import com.sun.star.frame.XController; -import com.sun.star.frame.XDesktop; -import com.sun.star.frame.XDispatch; -import com.sun.star.frame.XDispatchProvider; -import com.sun.star.frame.XFrame; import com.sun.star.frame.XModel; import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.lang.XSingleServiceFactory; -import com.sun.star.presentation.XCustomPresentationSupplier; -import com.sun.star.presentation.XPresentationSupplier; -import com.sun.star.sheet.XSheetCellRange; -import com.sun.star.sheet.XSpreadsheet; -import com.sun.star.sheet.XSpreadsheetDocument; -import com.sun.star.sheet.XSpreadsheets; -import com.sun.star.style.XStyle; -import com.sun.star.table.XCellRange; import com.sun.star.text.ControlCharacter; import com.sun.star.text.XText; import com.sun.star.text.XTextCursor; import com.sun.star.text.XTextDocument; -import com.sun.star.uno.AnyConverter; -import com.sun.star.uno.Type; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.XInterface; -import com.sun.star.view.XSelectionSupplier; import complexlib.ComplexTestCase; import helper.OfficeProvider; -import helper.OfficeWatcher; import java.awt.Dimension; import java.awt.Point; import java.awt.Toolkit; @@ -75,16 +46,6 @@ import util.SOfficeFactory; import util.UITools; import util.utils; -// ---------- junit imports ----------------- -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; -import org.openoffice.test.OfficeConnection; -import static org.junit.Assert.*; -// ------------------------------------------ - public class RecoveryTest extends ComplexTestCase { static XMultiServiceFactory xMSF; diff --git a/framework/qa/complex/framework/recovery/RecoveryTools.java b/framework/qa/complex/framework/recovery/RecoveryTools.java index 9f4b81836e57..c9382c20858e 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTools.java +++ b/framework/qa/complex/framework/recovery/RecoveryTools.java @@ -21,21 +21,11 @@ package complex.framework.recovery; import com.sun.star.awt.XDialog; import com.sun.star.awt.XExtendedToolkit; import com.sun.star.awt.XWindow; -import com.sun.star.beans.NamedValue; -import com.sun.star.frame.XController; import com.sun.star.frame.XDesktop; -import com.sun.star.frame.XDispatch; -import com.sun.star.frame.XDispatchProvider; -import com.sun.star.frame.XModel; -import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.ucb.XSimpleFileAccess; import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XInterface; -import com.sun.star.util.URL; -import com.sun.star.util.XURLTransformer; import helper.FileTools; -import helper.OfficeProvider; import helper.UnoProvider; import java.io.File; import java.io.PrintWriter; diff --git a/framework/qa/complex/imageManager/CheckImageManager.java b/framework/qa/complex/imageManager/CheckImageManager.java index 4d1d78e27efd..40f194c69e52 100644 --- a/framework/qa/complex/imageManager/CheckImageManager.java +++ b/framework/qa/complex/imageManager/CheckImageManager.java @@ -23,7 +23,6 @@ import com.sun.star.lang.XInitialization; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.lang.XTypeProvider; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.XInterface; import com.sun.star.ui.XImageManager; import com.sun.star.ui.XModuleUIConfigurationManagerSupplier; import com.sun.star.ui.XUIConfiguration; @@ -33,7 +32,6 @@ import com.sun.star.ui.XUIConfigurationPersistence; // ---------- junit imports ----------------- import lib.TestParameters; -import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; diff --git a/framework/qa/complex/imageManager/_XComponent.java b/framework/qa/complex/imageManager/_XComponent.java index 947d7cde8359..93881d8bd1a8 100644 --- a/framework/qa/complex/imageManager/_XComponent.java +++ b/framework/qa/complex/imageManager/_XComponent.java @@ -18,7 +18,6 @@ package complex.imageManager; -import com.sun.star.container.XNameContainer; import com.sun.star.frame.XDesktop; import com.sun.star.lang.EventObject; import com.sun.star.lang.XComponent; diff --git a/framework/qa/complex/loadAllDocuments/InteractionHandler.java b/framework/qa/complex/loadAllDocuments/InteractionHandler.java index e399ada391ce..f22201fe08cd 100644 --- a/framework/qa/complex/loadAllDocuments/InteractionHandler.java +++ b/framework/qa/complex/loadAllDocuments/InteractionHandler.java @@ -17,16 +17,7 @@ */ package complex.loadAllDocuments; -import com.sun.star.beans.PropertyValue; - -import com.sun.star.uno.Exception; -import com.sun.star.uno.RuntimeException; - import com.sun.star.task.XInteractionHandler; -import com.sun.star.task.XInteractionAbort; -import com.sun.star.task.XInteractionRetry; - -import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.AnyConverter; diff --git a/framework/qa/complex/loadAllDocuments/StatusIndicator.java b/framework/qa/complex/loadAllDocuments/StatusIndicator.java index ab6b22613705..bf2c0ce4ba2b 100644 --- a/framework/qa/complex/loadAllDocuments/StatusIndicator.java +++ b/framework/qa/complex/loadAllDocuments/StatusIndicator.java @@ -19,18 +19,7 @@ package complex.loadAllDocuments; // __________ Imports __________ -// structs, const, ... -import com.sun.star.beans.PropertyValue; -// exceptions -import com.sun.star.uno.Exception; -import com.sun.star.uno.RuntimeException; - -// interfaces -import com.sun.star.task.XStatusIndicator; - -// helper -import com.sun.star.uno.UnoRuntime; // __________ Implementation __________ diff --git a/framework/qa/complex/path_settings/PathSettingsTest.java b/framework/qa/complex/path_settings/PathSettingsTest.java index aa503b4529cd..304f7c4531df 100644 --- a/framework/qa/complex/path_settings/PathSettingsTest.java +++ b/framework/qa/complex/path_settings/PathSettingsTest.java @@ -18,10 +18,8 @@ package complex.path_settings; import com.sun.star.beans.Property; -import com.sun.star.beans.PropertyVetoException; import com.sun.star.beans.UnknownPropertyException; import com.sun.star.beans.XFastPropertySet; -import com.sun.star.beans.XMultiPropertySet; import com.sun.star.beans.XPropertySet; import com.sun.star.beans.XPropertiesChangeListener; import com.sun.star.beans.XPropertyChangeListener; @@ -34,9 +32,6 @@ import com.sun.star.uno.AnyConverter; // ---------- junit imports ----------------- import java.util.ArrayList; import java.util.StringTokenizer; -import java.util.logging.Level; -import java.util.logging.Logger; -import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java index 246dd8639c54..cd57c6357330 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySetMixin.java @@ -58,7 +58,6 @@ import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; -import java.util.Vector; /** A helper mixin to implement certain UNO interfaces related to property set diff --git a/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java b/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java index 16abef854a4d..d541fbea1291 100644 --- a/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java +++ b/javaunohelper/test/com/sun/star/comp/helper/RegistryServiceFactory_Test.java @@ -18,27 +18,7 @@ package com.sun.star.comp.helper; -import com.sun.star.comp.loader.JavaLoader; - -import com.sun.star.comp.servicemanager.ServiceManager; -import com.sun.star.uno.UnoRuntime; - -import com.sun.star.container.XSet; -import com.sun.star.container.XContentEnumerationAccess; -import com.sun.star.container.XEnumeration; -import com.sun.star.container.XEnumerationAccess; -import com.sun.star.container.XElementAccess; - -import com.sun.star.lang.XComponent; - -import com.sun.star.lang.XServiceInfo; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.lang.XSingleServiceFactory; -import com.sun.star.lang.XInitialization; - -import com.sun.star.loader.XImplementationLoader; - -import com.sun.star.registry.XSimpleRegistry; public class RegistryServiceFactory_Test { diff --git a/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java b/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java index 40eb0ae81b91..a5ec301492e2 100644 --- a/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java +++ b/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java @@ -18,24 +18,10 @@ package com.sun.star.comp.helper; -import com.sun.star.comp.loader.JavaLoader; - -import com.sun.star.comp.servicemanager.ServiceManager; import com.sun.star.uno.UnoRuntime; -import com.sun.star.container.XSet; -import com.sun.star.container.XContentEnumerationAccess; -import com.sun.star.container.XEnumeration; -import com.sun.star.container.XEnumerationAccess; -import com.sun.star.container.XElementAccess; - -import com.sun.star.lang.XComponent; - -import com.sun.star.lang.XServiceInfo; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.lang.XSingleServiceFactory; -import com.sun.star.lang.XInitialization; - import com.sun.star.loader.XImplementationLoader; import com.sun.star.registry.XSimpleRegistry; diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java index f12276406411..561871ac82f6 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java @@ -31,7 +31,6 @@ import com.sun.star.registry.XImplementationRegistration; import com.sun.star.container.XSet; import com.sun.star.lib.uno.helper.Factory; -import com.sun.star.comp.helper.Bootstrap; import com.sun.star.comp.helper.RegistryServiceFactory; import com.sun.star.uno.UnoRuntime; diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java index ca5255f03152..8e79811fd4aa 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java @@ -18,30 +18,14 @@ package com.sun.star.lib.uno.helper; -import com.sun.star.uno.XInterface; import java.util.Iterator; import java.util.ListIterator; -import com.sun.star.uno.Type; import com.sun.star.uno.XWeak; import com.sun.star.lang.XTypeProvider; -import com.sun.star.lang.XEventListener; import java.util.ArrayList; -import com.sun.star.lang.XMultiComponentFactory; -import com.sun.star.uno.XComponentContext; -import com.sun.star.comp.helper.Bootstrap; -import com.sun.star.bridge.XUnoUrlResolver; -import com.sun.star.uno.UnoRuntime; -import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.lang.XSingleServiceFactory; -import com.sun.star.uno.IQueryInterface; -//import com.sun.star.lib.uno.environments.java.IRequester; -import com.sun.star.bridge.XBridge; //import com.sun.star.lib.uno.environments.java.Proxy; import com.sun.star.lib.uno.environments.java.java_environment; -import com.sun.star.lib.uno.typedesc.TypeDescription; -import java.util.HashMap; import java.util.List; -import java.util.NoSuchElementException; public class InterfaceContainer_Test { diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java index 12e33a201ee6..2d3e764aee72 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java @@ -17,14 +17,11 @@ */ package com.sun.star.lib.uno.helper; -import com.sun.star.lib.uno.environments.java.java_environment; import java.util.List; import com.sun.star.uno.XWeak; import com.sun.star.lang.XTypeProvider; import java.util.ArrayList; import com.sun.star.uno.Type; -import com.sun.star.lib.uno.typedesc.TypeDescription; -import com.sun.star.uno.UnoRuntime; //import com.sun.star.lib.uno.environments.java.Proxy; import com.sun.star.uno.XInterface; import com.sun.star.lang.XSingleComponentFactory; diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java index 0dd6fce93ce7..02f93123cd92 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java @@ -22,10 +22,8 @@ import com.sun.star.lang.DisposedException; import com.sun.star.uno.Type; import com.sun.star.uno.TypeClass; import com.sun.star.uno.XInterface; -import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.Any; import com.sun.star.uno.XWeak; -import com.sun.star.beans.XPropertySet; import com.sun.star.beans.UnknownPropertyException; import com.sun.star.beans.Property; import com.sun.star.beans.PropertyAttribute; @@ -36,8 +34,6 @@ import com.sun.star.beans.XVetoableChangeListener; import com.sun.star.beans.XPropertySetInfo; import com.sun.star.beans.XPropertiesChangeListener; -import java.util.Arrays; - public class PropertySet_Test { diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/RandomGenerator.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/RandomGenerator.java index b9f17ce4e045..45204c44497d 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/RandomGenerator.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/RandomGenerator.java @@ -22,8 +22,6 @@ package net.adaptivebox.global; -import java.util.*; - public class RandomGenerator { /**This function returns a random integer number between the lowLimit and upLimit. diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/Registration.java b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/Registration.java index edeb6a447c13..7a62b018fba3 100644 --- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/Registration.java +++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/Registration.java @@ -29,7 +29,6 @@ package com.sun.star.comp.Calc.NLPSolver; import com.sun.star.lib.uno.helper.Factory; import com.sun.star.lang.XSingleComponentFactory; -import java.io.IOException; public final class Registration { diff --git a/qadevOOo/tests/java/mod/_remotebridge/uno/various.java b/qadevOOo/tests/java/mod/_remotebridge/uno/various.java index 34181e91a789..a38997618329 100644 --- a/qadevOOo/tests/java/mod/_remotebridge/uno/various.java +++ b/qadevOOo/tests/java/mod/_remotebridge/uno/various.java @@ -18,7 +18,6 @@ package mod._remotebridge.uno; -import com.sun.star.bridge.XBridge; import com.sun.star.bridge.XBridgeFactory; import com.sun.star.bridge.XInstanceProvider; import com.sun.star.connection.XAcceptor; diff --git a/reportbuilder/java/com/sun/star/report/pentaho/loader/InputRepositoryLoader.java b/reportbuilder/java/com/sun/star/report/pentaho/loader/InputRepositoryLoader.java index 30385d01acfb..06d32385db1d 100644 --- a/reportbuilder/java/com/sun/star/report/pentaho/loader/InputRepositoryLoader.java +++ b/reportbuilder/java/com/sun/star/report/pentaho/loader/InputRepositoryLoader.java @@ -27,7 +27,6 @@ import java.util.Map; import org.pentaho.reporting.libraries.resourceloader.ResourceData; import org.pentaho.reporting.libraries.resourceloader.ResourceException; import org.pentaho.reporting.libraries.resourceloader.ResourceKey; -import org.pentaho.reporting.libraries.resourceloader.ResourceException; import org.pentaho.reporting.libraries.resourceloader.ResourceKeyCreationException; import org.pentaho.reporting.libraries.resourceloader.ResourceLoader; import org.pentaho.reporting.libraries.resourceloader.ResourceLoadingException; diff --git a/reportbuilder/java/com/sun/star/report/pentaho/output/chart/ChartRawReportTarget.java b/reportbuilder/java/com/sun/star/report/pentaho/output/chart/ChartRawReportTarget.java index f3f01ba65012..563e75262404 100644 --- a/reportbuilder/java/com/sun/star/report/pentaho/output/chart/ChartRawReportTarget.java +++ b/reportbuilder/java/com/sun/star/report/pentaho/output/chart/ChartRawReportTarget.java @@ -27,9 +27,6 @@ import com.sun.star.report.pentaho.PentahoReportEngineMetaData; import com.sun.star.report.pentaho.output.OfficeDocumentReportTarget; import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; - import org.jfree.layouting.util.AttributeMap; import org.jfree.report.DataFlags; import org.jfree.report.DataSourceException; @@ -38,7 +35,6 @@ import org.jfree.report.flow.ReportJob; import org.jfree.report.flow.ReportStructureRoot; import org.jfree.report.flow.ReportTargetUtil; -import org.pentaho.reporting.libraries.base.util.IOUtils; import org.pentaho.reporting.libraries.resourceloader.ResourceKey; import org.pentaho.reporting.libraries.resourceloader.ResourceManager; import org.pentaho.reporting.libraries.xmlns.common.AttributeList; diff --git a/reportbuilder/java/com/sun/star/report/pentaho/parser/chart/ChartReadHandler.java b/reportbuilder/java/com/sun/star/report/pentaho/parser/chart/ChartReadHandler.java index c739e10bf420..6b02c815d417 100644 --- a/reportbuilder/java/com/sun/star/report/pentaho/parser/chart/ChartReadHandler.java +++ b/reportbuilder/java/com/sun/star/report/pentaho/parser/chart/ChartReadHandler.java @@ -23,8 +23,6 @@ import com.sun.star.report.pentaho.parser.rpt.DetailRootTableReadHandler; import com.sun.star.report.pentaho.parser.rpt.ReportReadHandler; import com.sun.star.report.pentaho.parser.text.TextContentReadHandler; -import java.lang.Object; - import java.util.ArrayList; import java.util.List; diff --git a/scripting/workben/installer/ExecCmd.java b/scripting/workben/installer/ExecCmd.java index ea7586a08281..9dc7613942b7 100644 --- a/scripting/workben/installer/ExecCmd.java +++ b/scripting/workben/installer/ExecCmd.java @@ -17,7 +17,6 @@ */ package installer; -import java.util.*; import java.io.*; public class ExecCmd { diff --git a/scripting/workben/installer/Final.java b/scripting/workben/installer/Final.java index 2a00b5259956..942103382877 100644 --- a/scripting/workben/installer/Final.java +++ b/scripting/workben/installer/Final.java @@ -20,7 +20,6 @@ package installer; import java.awt.event.*; import java.util.*; -import java.net.*; import javax.swing.*; public class Final extends javax.swing.JPanel implements ActionListener, InstallListener { diff --git a/scripting/workben/installer/IdeFinal.java b/scripting/workben/installer/IdeFinal.java index 0b5d2c948744..06836d3c07d9 100644 --- a/scripting/workben/installer/IdeFinal.java +++ b/scripting/workben/installer/IdeFinal.java @@ -20,7 +20,6 @@ package installer; import java.awt.event.*; import java.util.*; -import java.net.*; import javax.swing.*; public class IdeFinal extends javax.swing.JPanel implements ActionListener, InstallListener { diff --git a/scripting/workben/installer/IdeUpdater.java b/scripting/workben/installer/IdeUpdater.java index 32ed8c67d0b6..5d94cffcb7ec 100644 --- a/scripting/workben/installer/IdeUpdater.java +++ b/scripting/workben/installer/IdeUpdater.java @@ -20,12 +20,6 @@ package installer; import java.io.*; import java.util.*; -import java.util.jar.*; -//import org.xml.sax.*; -//import org.w3c.dom.*; -//import javax.xml.parsers.*; -import java.net.URL; -import java.net.JarURLConnection; //import javax.xml.parsers.*; import javax.swing.*; diff --git a/scripting/workben/installer/IdeVersion.java b/scripting/workben/installer/IdeVersion.java index b025b6e9cc14..ea969a0e4217 100644 --- a/scripting/workben/installer/IdeVersion.java +++ b/scripting/workben/installer/IdeVersion.java @@ -25,7 +25,6 @@ import java.util.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.table.*; -import javax.swing.SwingUtilities.*; public class IdeVersion extends javax.swing.JPanel implements ActionListener, TableModelListener { diff --git a/scripting/workben/installer/IdeWelcome.java b/scripting/workben/installer/IdeWelcome.java index 863d756cfbb2..542b98e8353d 100644 --- a/scripting/workben/installer/IdeWelcome.java +++ b/scripting/workben/installer/IdeWelcome.java @@ -19,10 +19,6 @@ package installer; import java.awt.event.*; -import javax.swing.*; -import java.io.*; -import java.net.*; -import java.awt.*; public class IdeWelcome extends javax.swing.JPanel implements ActionListener { diff --git a/scripting/workben/installer/InstUtil.java b/scripting/workben/installer/InstUtil.java index 92dfdf9b05f1..c3d673cc377c 100644 --- a/scripting/workben/installer/InstUtil.java +++ b/scripting/workben/installer/InstUtil.java @@ -21,10 +21,6 @@ package installer; import java.net.URLDecoder; import java.io.*; import java.util.*; -import java.util.zip.*; -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; import java.net.*; public class InstUtil { diff --git a/scripting/workben/installer/Version.java b/scripting/workben/installer/Version.java index 13eafa05ecf7..2a7f30be9e52 100644 --- a/scripting/workben/installer/Version.java +++ b/scripting/workben/installer/Version.java @@ -25,7 +25,6 @@ import java.util.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.table.*; -import javax.swing.SwingUtilities.*; public class Version extends javax.swing.JPanel implements ActionListener, TableModelListener { diff --git a/scripting/workben/installer/Welcome.java b/scripting/workben/installer/Welcome.java index a05017847340..8dc578515e10 100644 --- a/scripting/workben/installer/Welcome.java +++ b/scripting/workben/installer/Welcome.java @@ -21,7 +21,6 @@ package installer; import java.awt.event.*; import javax.swing.*; import java.io.*; -import java.net.*; import java.util.Properties; public class Welcome extends javax.swing.JPanel implements ActionListener { diff --git a/scripting/workben/installer/XmlUpdater.java b/scripting/workben/installer/XmlUpdater.java index 3c259ac4f5a2..5f1c88c41e7e 100644 --- a/scripting/workben/installer/XmlUpdater.java +++ b/scripting/workben/installer/XmlUpdater.java @@ -20,9 +20,7 @@ package installer; import java.io.*; import java.util.*; -import java.util.jar.*; import java.net.URL; -import java.net.JarURLConnection; import javax.swing.*; /** diff --git a/scripting/workben/installer/ZipData.java b/scripting/workben/installer/ZipData.java index cd38cc32061a..432201ff7e54 100644 --- a/scripting/workben/installer/ZipData.java +++ b/scripting/workben/installer/ZipData.java @@ -19,10 +19,6 @@ package installer; import java.io.*; -import java.util.*; -import java.util.zip.*; -import java.awt.*; -import java.awt.event.*; import javax.swing.*; public class ZipData diff --git a/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java b/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java index d907ca3e086a..a7197027ff29 100644 --- a/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java +++ b/sfx2/qa/complex/sfx2/undo/ChartDocumentTest.java @@ -22,7 +22,6 @@ import com.sun.star.chart2.XAxis; import com.sun.star.chart2.XCoordinateSystem; import com.sun.star.chart2.XCoordinateSystemContainer; import com.sun.star.awt.Size; -import com.sun.star.beans.NamedValue; import com.sun.star.beans.XPropertySet; import com.sun.star.chart2.XChartDocument; import com.sun.star.chart2.XDiagram; @@ -34,12 +33,7 @@ import com.sun.star.document.XUndoManagerSupplier; import com.sun.star.drawing.XShape; import com.sun.star.embed.EmbedStates; import com.sun.star.embed.EmbedVerbs; -import com.sun.star.embed.VerbDescriptor; -import com.sun.star.embed.WrongStateException; import com.sun.star.embed.XEmbeddedObject; -import com.sun.star.embed.XStateChangeBroadcaster; -import com.sun.star.embed.XStateChangeListener; -import com.sun.star.lang.EventObject; import com.sun.star.lang.IndexOutOfBoundsException; import com.sun.star.lang.WrappedTargetException; import com.sun.star.lang.XMultiServiceFactory; diff --git a/smoketest/com/sun/star/comp/smoketest/TestExtension.java b/smoketest/com/sun/star/comp/smoketest/TestExtension.java index 82793928e176..f62147df8643 100644 --- a/smoketest/com/sun/star/comp/smoketest/TestExtension.java +++ b/smoketest/com/sun/star/comp/smoketest/TestExtension.java @@ -22,13 +22,9 @@ import com.sun.star.lib.uno.helper.Factory; import com.sun.star.lang.XMultiComponentFactory; import com.sun.star.lang.XSingleComponentFactory; import com.sun.star.lib.uno.helper.WeakBase; -import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XComponentContext; import com.sun.star.registry.XRegistryKey; -import com.sun.star.lang.XInitialization; -import com.sun.star.lang.XTypeProvider; import com.sun.star.lang.XServiceInfo; -import com.sun.star.uno.Type; /** This class capsulates the class, that implements the minimal component, a * factory for creating the service (<CODE>__getComponentFactory</CODE>) and a diff --git a/sot/qa/complex/olesimplestorage/Test01.java b/sot/qa/complex/olesimplestorage/Test01.java index 89a8f5d23298..4a942517ee04 100644 --- a/sot/qa/complex/olesimplestorage/Test01.java +++ b/sot/qa/complex/olesimplestorage/Test01.java @@ -19,8 +19,6 @@ package complex.olesimplestorage; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.io.XInputStream; -import com.sun.star.io.XOutputStream; import com.sun.star.io.XTempFile; import com.sun.star.embed.XOLESimpleStorage; import com.sun.star.uno.UnoRuntime; diff --git a/svl/qa/complex/passwordcontainer/Test01.java b/svl/qa/complex/passwordcontainer/Test01.java index eb889be5429c..cb48fbcf9ba2 100644 --- a/svl/qa/complex/passwordcontainer/Test01.java +++ b/svl/qa/complex/passwordcontainer/Test01.java @@ -23,8 +23,6 @@ import com.sun.star.task.XInteractionHandler; import com.sun.star.task.XPasswordContainer; import com.sun.star.task.UrlRecord; import com.sun.star.task.UserRecord; -import com.sun.star.task.XMasterPasswordHandling; - import com.sun.star.uno.UnoRuntime; // import share.LogWriter; diff --git a/sw/qa/complex/writer/CheckBookmarks.java b/sw/qa/complex/writer/CheckBookmarks.java index ae637b512171..2a427117a983 100644 --- a/sw/qa/complex/writer/CheckBookmarks.java +++ b/sw/qa/complex/writer/CheckBookmarks.java @@ -22,7 +22,6 @@ import com.sun.star.beans.PropertyValue; import com.sun.star.container.XNamed; import com.sun.star.container.XNameAccess; import com.sun.star.frame.XStorable; -import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.text.XBookmarksSupplier; import com.sun.star.text.XSimpleText; @@ -32,7 +31,6 @@ import com.sun.star.text.XTextCursor; import com.sun.star.text.XTextDocument; import com.sun.star.text.XTextRange; import com.sun.star.uno.UnoRuntime; -import complexlib.ComplexTestCase; import java.math.BigInteger; import org.junit.After; import org.junit.AfterClass; diff --git a/sw/qa/complex/writer/CheckFlies.java b/sw/qa/complex/writer/CheckFlies.java index d57c38cbac7e..e057430de9b2 100644 --- a/sw/qa/complex/writer/CheckFlies.java +++ b/sw/qa/complex/writer/CheckFlies.java @@ -18,15 +18,9 @@ package complex.writer; -import com.sun.star.beans.PropertyValue; -import com.sun.star.container.XNamed; -import com.sun.star.container.XNameAccess; -import com.sun.star.container.XIndexAccess; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.text.XTextDocument; import com.sun.star.uno.UnoRuntime; -import complexlib.ComplexTestCase; -import java.math.BigInteger; import java.util.Collection; import java.util.ArrayList; import org.junit.After; diff --git a/sw/qa/complex/writer/CheckTable.java b/sw/qa/complex/writer/CheckTable.java index 2405ace27e9c..449dc1ad45da 100644 --- a/sw/qa/complex/writer/CheckTable.java +++ b/sw/qa/complex/writer/CheckTable.java @@ -12,16 +12,9 @@ package complex.writer; import com.sun.star.uno.UnoRuntime; import com.sun.star.uno.XComponentContext; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.lang.XComponent; -import com.sun.star.lang.XServiceInfo; import com.sun.star.beans.XPropertySet; -import com.sun.star.beans.PropertyValue; -import com.sun.star.container.XEnumeration; -import com.sun.star.util.XCloseable; import com.sun.star.text.XText; -import com.sun.star.text.XTextContent; import com.sun.star.text.XTextDocument; -import com.sun.star.text.XTextRange; import com.sun.star.text.XTextCursor; import com.sun.star.text.XTextTable; import com.sun.star.table.TableBorder; @@ -39,9 +32,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -import java.util.Set; -import java.util.HashSet; - public class CheckTable { diff --git a/sw/qa/complex/writer/LoadSaveTest.java b/sw/qa/complex/writer/LoadSaveTest.java index 55d5a8f20fbe..3a16fd80769a 100644 --- a/sw/qa/complex/writer/LoadSaveTest.java +++ b/sw/qa/complex/writer/LoadSaveTest.java @@ -19,27 +19,20 @@ package complex.writer; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.AnyConverter; import com.sun.star.uno.XComponentContext; import com.sun.star.lang.WrappedTargetException; import com.sun.star.lang.WrappedTargetRuntimeException; import com.sun.star.lang.EventObject; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.lang.XComponent; -import com.sun.star.lang.XServiceInfo; -import com.sun.star.beans.XPropertySet; import com.sun.star.beans.PropertyValue; import com.sun.star.beans.Pair; -import com.sun.star.util.XCloseable; import com.sun.star.frame.XStorable; import com.sun.star.document.DocumentEvent; import com.sun.star.document.XDocumentEventBroadcaster; import com.sun.star.document.XDocumentEventListener; -import com.sun.star.text.XTextDocument; - import org.openoffice.test.OfficeConnection; -import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; diff --git a/sw/qa/complex/writer/TextPortionEnumerationTest.java b/sw/qa/complex/writer/TextPortionEnumerationTest.java index 3170b930ff9c..40985ea69f91 100644 --- a/sw/qa/complex/writer/TextPortionEnumerationTest.java +++ b/sw/qa/complex/writer/TextPortionEnumerationTest.java @@ -19,7 +19,6 @@ package complex.writer; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.AnyConverter; import com.sun.star.uno.XComponentContext; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.lang.XComponent; @@ -37,7 +36,6 @@ import com.sun.star.container.XNameAccess; import com.sun.star.container.XContentEnumerationAccess; import com.sun.star.container.XEnumerationAccess; import com.sun.star.container.XEnumeration; -import com.sun.star.container.NoSuchElementException; import com.sun.star.frame.XStorable; import com.sun.star.util.XCloseable; import com.sun.star.text.XText; diff --git a/ucb/qa/complex/tdoc/_XChild.java b/ucb/qa/complex/tdoc/_XChild.java index a99eeda31fd8..9885d7dc5192 100644 --- a/ucb/qa/complex/tdoc/_XChild.java +++ b/ucb/qa/complex/tdoc/_XChild.java @@ -18,9 +18,6 @@ package complex.tdoc; -import lib.MultiMethodTest; -import lib.Status; - import com.sun.star.container.XChild; import com.sun.star.container.XNamed; import com.sun.star.uno.UnoRuntime; diff --git a/ucb/qa/complex/tdoc/_XCommandProcessor.java b/ucb/qa/complex/tdoc/_XCommandProcessor.java index 5de4a94c04d1..985d02b56a3a 100644 --- a/ucb/qa/complex/tdoc/_XCommandProcessor.java +++ b/ucb/qa/complex/tdoc/_XCommandProcessor.java @@ -20,7 +20,6 @@ package complex.tdoc; import com.sun.star.beans.Property; import com.sun.star.beans.XPropertySetInfo; -import lib.MultiMethodTest; import lib.StatusException; import com.sun.star.lang.XMultiServiceFactory; @@ -30,7 +29,6 @@ import com.sun.star.ucb.CommandInfo; import com.sun.star.ucb.GlobalTransferCommandArgument; import com.sun.star.ucb.NameClash; import com.sun.star.ucb.TransferCommandOperation; -import com.sun.star.ucb.UnsupportedCommandException; import com.sun.star.ucb.XCommandInfo; import com.sun.star.ucb.XCommandProcessor; import com.sun.star.uno.Exception; diff --git a/ucb/qa/complex/tdoc/_XComponent.java b/ucb/qa/complex/tdoc/_XComponent.java index 7a039e03330e..ad1cde8a087a 100644 --- a/ucb/qa/complex/tdoc/_XComponent.java +++ b/ucb/qa/complex/tdoc/_XComponent.java @@ -19,9 +19,6 @@ package complex.tdoc; import com.sun.star.container.XNameContainer; -import lib.MultiMethodTest; - -import com.sun.star.frame.XDesktop; import com.sun.star.lang.EventObject; import com.sun.star.lang.XComponent; import com.sun.star.lang.XEventListener; diff --git a/ucb/qa/complex/tdoc/_XServiceInfo.java b/ucb/qa/complex/tdoc/_XServiceInfo.java index 9b0033b219ca..828a6d054d56 100644 --- a/ucb/qa/complex/tdoc/_XServiceInfo.java +++ b/ucb/qa/complex/tdoc/_XServiceInfo.java @@ -18,8 +18,6 @@ package complex.tdoc; -import lib.MultiMethodTest; - import com.sun.star.lang.XServiceInfo; import share.LogWriter; diff --git a/ucb/qa/complex/tdoc/_XTypeProvider.java b/ucb/qa/complex/tdoc/_XTypeProvider.java index 33e11c87901c..5b1bf63339de 100644 --- a/ucb/qa/complex/tdoc/_XTypeProvider.java +++ b/ucb/qa/complex/tdoc/_XTypeProvider.java @@ -18,8 +18,6 @@ package complex.tdoc; -import lib.MultiMethodTest; - import com.sun.star.lang.XTypeProvider; import com.sun.star.uno.Type; import share.LogWriter; diff --git a/ucb/qa/complex/ucb/UCB.java b/ucb/qa/complex/ucb/UCB.java index 8baf758c02be..95cc501b5270 100644 --- a/ucb/qa/complex/ucb/UCB.java +++ b/ucb/qa/complex/ucb/UCB.java @@ -40,9 +40,7 @@ import com.sun.star.uno.UnoRuntime; // import com.sun.star.lang.XMultiComponentFactory; // import com.sun.star.beans.XPropertySet; -import org.junit.After; import org.junit.AfterClass; -import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.openoffice.test.OfficeConnection; diff --git a/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java b/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java index febec1ed3170..7017bec2ed25 100644 --- a/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java +++ b/ucb/test/com/sun/star/comp/ucb/GlobalTransfer_Test.java @@ -21,7 +21,6 @@ package com.sun.star.comp.ucb; import complexlib.ComplexTestCase; import com.sun.star.lang.IllegalArgumentException; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.task.XInteractionAbort; import com.sun.star.task.XInteractionHandler; import com.sun.star.task.XInteractionRequest; import com.sun.star.task.XInteractionContinuation; @@ -32,7 +31,6 @@ import com.sun.star.ucb.NameClashResolveRequest; import com.sun.star.ucb.TransferCommandOperation; import com.sun.star.ucb.XCommandEnvironment; import com.sun.star.ucb.XCommandProcessor; -import com.sun.star.ucb.XInteractionReplaceExistingData; import com.sun.star.ucb.XInteractionSupplyName; import com.sun.star.ucb.XProgressHandler; import com.sun.star.uno.AnyConverter; diff --git a/unoxml/qa/complex/unoxml/DOMTest.java b/unoxml/qa/complex/unoxml/DOMTest.java index 0bb388d2ed0c..91a754ff0ae6 100644 --- a/unoxml/qa/complex/unoxml/DOMTest.java +++ b/unoxml/qa/complex/unoxml/DOMTest.java @@ -29,11 +29,9 @@ import com.sun.star.io.XInputStream; import com.sun.star.xml.dom.*; import static com.sun.star.xml.dom.DOMExceptionType.*; import static com.sun.star.xml.dom.NodeType.*; -import com.sun.star.xml.dom.events.*; import com.sun.star.xml.xpath.*; import static com.sun.star.xml.xpath.XPathObjectType.*; -import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; diff --git a/vcl/qa/complex/memCheck/FileHelper.java b/vcl/qa/complex/memCheck/FileHelper.java index 5d6fcc750916..7e8239e4c0bc 100644 --- a/vcl/qa/complex/memCheck/FileHelper.java +++ b/vcl/qa/complex/memCheck/FileHelper.java @@ -18,8 +18,6 @@ package complex.memCheck; -import java.io.File; - /** * * @author ll93751 diff --git a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java index 5374f587d536..33924bee21bb 100644 --- a/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java +++ b/wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java @@ -26,7 +26,6 @@ import com.sun.star.awt.XItemListener; import com.sun.star.awt.XWindow; import com.sun.star.awt.XWindowPeer; import com.sun.star.beans.PropertyValue; -import com.sun.star.frame.XStorable; import com.sun.star.lang.EventObject; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.task.XInteractionHandler; diff --git a/wizards/com/sun/star/wizards/common/ParaStyled.java b/wizards/com/sun/star/wizards/common/ParaStyled.java index 6f60533a595d..e1eedfdfd2d3 100644 --- a/wizards/com/sun/star/wizards/common/ParaStyled.java +++ b/wizards/com/sun/star/wizards/common/ParaStyled.java @@ -19,18 +19,8 @@ package com.sun.star.wizards.common; import com.sun.star.wizards.common.TemplateElement; -import java.util.ArrayList; -import com.sun.star.uno.AnyConverter; -import com.sun.star.uno.Exception; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.XInterface; -import com.sun.star.util.XSearchable; -import com.sun.star.util.XSearchDescriptor; -import com.sun.star.container.XIndexAccess; import com.sun.star.text.*; -import com.sun.star.wizards.text.*; -import com.sun.star.wizards.common.TextElement; -import com.sun.star.wizards.common.PlaceholderTextElement; class ParaStyled implements TemplateElement { diff --git a/wizards/com/sun/star/wizards/common/PlaceholderTextElement.java b/wizards/com/sun/star/wizards/common/PlaceholderTextElement.java index 952c74f32869..ca3e22015ae0 100644 --- a/wizards/com/sun/star/wizards/common/PlaceholderTextElement.java +++ b/wizards/com/sun/star/wizards/common/PlaceholderTextElement.java @@ -19,17 +19,11 @@ package com.sun.star.wizards.common; import com.sun.star.wizards.common.TextElement; -import com.sun.star.uno.AnyConverter; import com.sun.star.uno.Exception; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.XInterface; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.util.XSearchable; -import com.sun.star.util.XSearchDescriptor; -import com.sun.star.container.XIndexAccess; import com.sun.star.text.*; import com.sun.star.wizards.text.*; -import com.sun.star.wizards.common.TextElement; import com.sun.star.wizards.common.PlaceholderTextElement; public class PlaceholderTextElement extends TextElement diff --git a/wizards/com/sun/star/wizards/common/TextElement.java b/wizards/com/sun/star/wizards/common/TextElement.java index 267f83e4ec93..383089172145 100644 --- a/wizards/com/sun/star/wizards/common/TextElement.java +++ b/wizards/com/sun/star/wizards/common/TextElement.java @@ -19,18 +19,9 @@ package com.sun.star.wizards.common; import com.sun.star.wizards.common.ParaStyled; -import java.util.ArrayList; -import com.sun.star.uno.AnyConverter; -import com.sun.star.uno.Exception; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.XInterface; -import com.sun.star.util.XSearchable; -import com.sun.star.util.XSearchDescriptor; -import com.sun.star.container.XIndexAccess; import com.sun.star.text.*; -import com.sun.star.wizards.text.*; import com.sun.star.wizards.common.TextElement; -import com.sun.star.wizards.common.PlaceholderTextElement; public class TextElement extends ParaStyled { diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java index 43e9c5ab9bc5..6f4792f341c9 100644 --- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java +++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java @@ -60,13 +60,11 @@ import com.sun.star.util.XSearchable; import com.sun.star.util.XSearchDescriptor; import com.sun.star.container.XIndexAccess; import com.sun.star.text.*; -import com.sun.star.wizards.text.*; import com.sun.star.wizards.common.TextElement; import com.sun.star.wizards.common.PlaceholderTextElement; import java.util.List; import com.sun.star.beans.XPropertySet; -import com.sun.star.uno.XInterface; public class FaxWizardDialogImpl extends FaxWizardDialog { diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java index e17d086a89e5..740420e77dd4 100644 --- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java +++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java @@ -19,9 +19,6 @@ package com.sun.star.wizards.letter; import java.util.List; import java.util.ArrayList; -import java.util.Collections; -import java.util.Comparator; - import com.sun.star.awt.VclWindowPeerAttribute; import com.sun.star.awt.XTextComponent; import com.sun.star.awt.XWindow; @@ -36,7 +33,6 @@ import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.task.XInteractionHandler; import com.sun.star.text.XTextDocument; import com.sun.star.text.XTextFrame; -import com.sun.star.ucb.CommandAbortedException; import com.sun.star.uno.AnyConverter; import com.sun.star.uno.Exception; import com.sun.star.uno.RuntimeException; @@ -66,12 +62,10 @@ import com.sun.star.util.XSearchable; import com.sun.star.util.XSearchDescriptor; import com.sun.star.container.XIndexAccess; import com.sun.star.text.*; -import com.sun.star.wizards.text.*; import com.sun.star.wizards.common.TextElement; import com.sun.star.wizards.common.PlaceholderTextElement; import com.sun.star.beans.XPropertySet; -import com.sun.star.uno.XInterface; public class LetterWizardDialogImpl extends LetterWizardDialog { diff --git a/wizards/com/sun/star/wizards/report/ReportLayouter.java b/wizards/com/sun/star/wizards/report/ReportLayouter.java index 1d60e2f0a48e..e48e3d7a5167 100644 --- a/wizards/com/sun/star/wizards/report/ReportLayouter.java +++ b/wizards/com/sun/star/wizards/report/ReportLayouter.java @@ -24,14 +24,11 @@ import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.wizards.common.*; import com.sun.star.wizards.ui.*; -import com.sun.star.uno.AnyConverter; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.XComponentContext; import com.sun.star.util.XSearchable; import com.sun.star.util.XSearchDescriptor; import com.sun.star.container.XIndexAccess; import com.sun.star.text.*; -import com.sun.star.wizards.text.*; import com.sun.star.wizards.common.TextElement; import com.sun.star.wizards.common.PlaceholderTextElement; import java.util.List; diff --git a/writerfilter/qa/complex/ooxml/LoadDocuments.java b/writerfilter/qa/complex/ooxml/LoadDocuments.java index c096e473d937..984ef76a10e1 100644 --- a/writerfilter/qa/complex/ooxml/LoadDocuments.java +++ b/writerfilter/qa/complex/ooxml/LoadDocuments.java @@ -21,11 +21,8 @@ package complex.ooxml; import com.sun.star.lang.XComponent; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.uno.UnoRuntime; -import complexlib.ComplexTestCase; import java.io.File; -import org.junit.After; import org.junit.AfterClass; -import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.openoffice.test.Argument; |