summaryrefslogtreecommitdiff
path: root/unotest
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 /unotest
parent82257e9087dc405fdc45cba7d6867be53b5ec9b3 (diff)
java: remove more dead code
found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/java/org/openoffice/test/tools/OfficeDocument.java4
-rw-r--r--unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java2
-rw-r--r--unotest/source/java/org/openoffice/test/tools/SpreadsheetView.java4
3 files changed, 5 insertions, 5 deletions
diff --git a/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java b/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java
index 655d17a9a7bd..9f18a6e986fe 100644
--- a/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java
+++ b/unotest/source/java/org/openoffice/test/tools/OfficeDocument.java
@@ -129,9 +129,9 @@ public class OfficeDocument
XController xController = xDocModel.getCurrentController();
if ( classify() == DocumentType.CALC )
- return new SpreadsheetView( m_orb, this, xController );
+ return new SpreadsheetView( m_orb, xController );
- return new OfficeDocumentView( m_orb, this, xController );
+ return new OfficeDocumentView( m_orb, xController );
}
/* ------------------------------------------------------------------ */
diff --git a/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java b/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java
index 5f89df726718..f7f9a5e6b90d 100644
--- a/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java
+++ b/unotest/source/java/org/openoffice/test/tools/OfficeDocumentView.java
@@ -43,7 +43,7 @@ public class OfficeDocumentView
}
/* ------------------------------------------------------------------ */
- public OfficeDocumentView( XMultiServiceFactory orb, OfficeDocument document, XController controller )
+ public OfficeDocumentView( XMultiServiceFactory orb, XController controller )
{
m_orb = orb;
m_controller = controller;
diff --git a/unotest/source/java/org/openoffice/test/tools/SpreadsheetView.java b/unotest/source/java/org/openoffice/test/tools/SpreadsheetView.java
index b6e32a9beb72..21d3d23e4f60 100644
--- a/unotest/source/java/org/openoffice/test/tools/SpreadsheetView.java
+++ b/unotest/source/java/org/openoffice/test/tools/SpreadsheetView.java
@@ -24,9 +24,9 @@ public class SpreadsheetView extends OfficeDocumentView
{
/** Creates a new instance of SpreadsheetView */
- public SpreadsheetView( XMultiServiceFactory orb, OfficeDocument document, XController controller )
+ public SpreadsheetView( XMultiServiceFactory orb, XController controller )
{
- super( orb, document, controller );
+ super( orb, controller );
}
}