summaryrefslogtreecommitdiff
path: root/smoketest
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 /smoketest
parent8d6cf7a147acde4e4a4f7600af25ed614b07f90d (diff)
java: remove unused fields
Change-Id: I25fef9590a34ec8d9aab182b3d267ae3cd649a87
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/com/sun/star/comp/smoketest/TestExtension.java18
-rw-r--r--smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java11
2 files changed, 0 insertions, 29 deletions
diff --git a/smoketest/com/sun/star/comp/smoketest/TestExtension.java b/smoketest/com/sun/star/comp/smoketest/TestExtension.java
index f62147df8643..0311a9c96037 100644
--- a/smoketest/com/sun/star/comp/smoketest/TestExtension.java
+++ b/smoketest/com/sun/star/comp/smoketest/TestExtension.java
@@ -42,29 +42,11 @@ public class TestExtension {
static private final String __serviceName =
"com.sun.star.comp.smoketest.TestExtension";
- /** 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 _TestExtension(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.
diff --git a/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java b/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java
index 14a5c4a6b69e..5b41e25058c0 100644
--- a/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java
+++ b/smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java
@@ -35,18 +35,7 @@ public class SmoketestCommandEnvironment extends WeakBase
static private final String __serviceName =
"com.sun.star.deployment.test.SmoketestCommandEnvironment";
- private XComponentContext m_cmpCtx;
- private XMultiComponentFactory m_xMCF;
-
-
public SmoketestCommandEnvironment(XComponentContext xCompContext) {
- try {
- m_cmpCtx = xCompContext;
- m_xMCF = m_cmpCtx.getServiceManager();
- }
- catch( Exception e ) {
- e.printStackTrace();
- }
}
public static String[] getServiceNames() {