summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 11:17:25 +0200
committerNoel Grandin <noel@peralex.com>2014-08-08 09:48:16 +0200
commit27459c71ef5f6f27749de36334e8a20fe4731e62 (patch)
tree2f175826d54010fcdfcd75879a67b89a57c96dcb /odk
parent8d6cf7a147acde4e4a4f7600af25ed614b07f90d (diff)
java: remove unused fields
Change-Id: I25fef9590a34ec8d9aab182b3d267ae3cd649a87
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
index d02c9672be55..0c8495c80e33 100644
--- a/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
+++ b/odk/examples/DevelopersGuide/Components/SimpleLicense/LicenseTest.java
@@ -55,29 +55,11 @@ public class LicenseTest {
static private final String __serviceName =
"org.openoffice.LicenseTest";
- /** The initial component contextr, that gives access to
- * the service manager, supported singletons, ...
- * It's often later used
- */
- private XComponentContext m_cmpCtx;
-
- /** The service manager, that gives access to all registered services.
- * It's often later used
- */
- private XMultiComponentFactory m_xMCF;
-
/** The constructor of the inner class has a XMultiServiceFactory parameter.
* @param xmultiservicefactoryInitialization A special service factory
* could be introduced while initializing.
*/
public _LicenseTest(XComponentContext xCompContext) {
- try {
- m_cmpCtx = xCompContext;
- m_xMCF = m_cmpCtx.getServiceManager();
- }
- catch( Exception e ) {
- e.printStackTrace();
- }
}
/** This method returns an array of all supported service names.