summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-18 11:43:40 +0200
committerNoel Grandin <noel@peralex.com>2015-01-05 09:59:03 +0200
commit10039462dfebdf6727529ca38b4105fcd7dd5727 (patch)
treedae25c3bdfa24dac171b10a2ac095f169b883fe5 /framework
parent82257e9087dc405fdc45cba7d6867be53b5ec9b3 (diff)
java: remove more dead code
found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
Diffstat (limited to 'framework')
-rw-r--r--framework/qa/complex/imageManager/CheckImageManager.java4
-rw-r--r--framework/qa/complex/imageManager/_XImageManager.java3
-rw-r--r--framework/qa/complex/imageManager/_XTypeProvider.java3
3 files changed, 4 insertions, 6 deletions
diff --git a/framework/qa/complex/imageManager/CheckImageManager.java b/framework/qa/complex/imageManager/CheckImageManager.java
index 0efb6ed036f5..21f24b634c22 100644
--- a/framework/qa/complex/imageManager/CheckImageManager.java
+++ b/framework/qa/complex/imageManager/CheckImageManager.java
@@ -103,7 +103,7 @@ public class CheckImageManager {
assertTrue(testObjectName + "::XInitialization.initialize", _xInit._initialize());
// xImageManager is already there, just write a test ;-)
- _XImageManager _xImage = new _XImageManager(param, xImageManager);
+ _XImageManager _xImage = new _XImageManager(xImageManager);
assertTrue(testObjectName + "::XImageManager.getAllImageNames", _xImage._getAllImageNames());
assertTrue(testObjectName + "::XImageManager.getImages", _xImage._getImages());
assertTrue(testObjectName + "::XImageManager.hasImage", _xImage._hasImage());
@@ -113,7 +113,7 @@ public class CheckImageManager {
assertTrue(testObjectName + "::XImageManager.reset", _xImage._reset());
XTypeProvider xType = UnoRuntime.queryInterface(XTypeProvider.class, xImageManager);
- _XTypeProvider _xType = new _XTypeProvider(param, xType);
+ _XTypeProvider _xType = new _XTypeProvider(xType);
assertTrue(testObjectName + "::XTypeProvider.getImplementationId", _xType._getImplementationId());
assertTrue(testObjectName + "::XTypeProvider.getTypes", _xType._getTypes());
diff --git a/framework/qa/complex/imageManager/_XImageManager.java b/framework/qa/complex/imageManager/_XImageManager.java
index 42d8055c4679..c077bbf265d2 100644
--- a/framework/qa/complex/imageManager/_XImageManager.java
+++ b/framework/qa/complex/imageManager/_XImageManager.java
@@ -20,7 +20,6 @@ package complex.imageManager;
import com.sun.star.graphic.XGraphic;
import com.sun.star.ui.ImageType;
import com.sun.star.ui.XImageManager;
-import lib.TestParameters;
/**
@@ -33,7 +32,7 @@ public class _XImageManager {
private XGraphic[] xGraphicArray = null;
private final XImageManager oObj;
- public _XImageManager( TestParameters tEnv, XImageManager oObj) {
+ public _XImageManager( XImageManager oObj) {
this.oObj = oObj;
}
diff --git a/framework/qa/complex/imageManager/_XTypeProvider.java b/framework/qa/complex/imageManager/_XTypeProvider.java
index 0e5e9e6bf92d..318c056c8849 100644
--- a/framework/qa/complex/imageManager/_XTypeProvider.java
+++ b/framework/qa/complex/imageManager/_XTypeProvider.java
@@ -22,7 +22,6 @@ package complex.imageManager;
import com.sun.star.lang.XTypeProvider;
import com.sun.star.uno.Type;
-import lib.TestParameters;
/**
* Testing <code>com.sun.star.lang.XTypeProvider</code>
@@ -40,7 +39,7 @@ public class _XTypeProvider {
private XTypeProvider oObj = null;
- public _XTypeProvider(TestParameters tEnv, XTypeProvider oObj) {
+ public _XTypeProvider(XTypeProvider oObj) {
this.oObj = oObj;
}