From d5a31b221510a506a9c43d2c9f44c55405ce13fd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 6 Aug 2014 08:38:10 +0200 Subject: java: remove unused parameters Change-Id: Ifc44c51ddbd21fabaad686bc3d38e2dab54d97aa --- odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java | 1 - .../DevelopersGuide/Components/dialogcomponent/DialogComponent.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'odk/examples/DevelopersGuide/Components') 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"; -- cgit