summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Components
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-06 08:38:10 +0200
committerNoel Grandin <noel@peralex.com>2014-08-11 12:33:02 +0200
commitd5a31b221510a506a9c43d2c9f44c55405ce13fd (patch)
tree16c4444d46fb439a1601d2d4535e1770da318e05 /odk/examples/DevelopersGuide/Components
parent41709cc2688738f091a4b17839fe853caa5a0bfd (diff)
java: remove unused parameters
Change-Id: Ifc44c51ddbd21fabaad686bc3d38e2dab54d97aa
Diffstat (limited to 'odk/examples/DevelopersGuide/Components')
-rw-r--r--odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java1
-rw-r--r--odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java2
2 files changed, 1 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
index 72336546445e..02553e81c27e 100644
--- a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
+++ b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
@@ -35,7 +35,6 @@
import com.sun.star.lib.uno.helper.Factory;
import com.sun.star.lang.XSingleComponentFactory;
import com.sun.star.lib.uno.helper.WeakBase;
-import com.sun.star.uno.XComponentContext;
import com.sun.star.lang.XServiceInfo;
/** This class capsulates the class, that implements the minimal component, a
diff --git a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
index 74f53fdaef2c..eb1c5770f784 100644
--- a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
+++ b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
@@ -124,7 +124,7 @@ public class DialogComponent {
return "Created dialog \"" + DialogURL + "\"";
}
- public void copyText( XDialog xDialog, Object aEventObject ) {
+ public void copyText( XDialog xDialog ) {
XControlContainer xControlContainer = UnoRuntime.queryInterface(
XControlContainer.class, xDialog );
String aTextPropertyStr = "Text";