summaryrefslogtreecommitdiff
path: root/bean/com
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-04 16:12:55 +0200
committerNoel Grandin <noel@peralex.com>2014-08-05 11:31:49 +0200
commitf124688cfdfbe96ff2be5ab44ea5023725548146 (patch)
tree4874bf2b2504979b9733f200e05b68034c7eaefe /bean/com
parent36a74fe54a0cd99372ea646af31ce41ac5ec5b08 (diff)
java: remove various unused variables
Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
Diffstat (limited to 'bean/com')
-rw-r--r--bean/com/sun/star/beans/LocalOfficeWindow.java1
-rw-r--r--bean/com/sun/star/comp/beans/OOoBean.java3
2 files changed, 1 insertions, 3 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java
index bb58b656dcdd..22bb02f3d183 100644
--- a/bean/com/sun/star/beans/LocalOfficeWindow.java
+++ b/bean/com/sun/star/beans/LocalOfficeWindow.java
@@ -270,7 +270,6 @@ public class LocalOfficeWindow
void cancel()
throws java.lang.InterruptedException
{
- Thread aThread = aWatchedThread;
aWatchedThread = null;
stop();
diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java
index 1da6646d6daa..4f60fb8375af 100644
--- a/bean/com/sun/star/comp/beans/OOoBean.java
+++ b/bean/com/sun/star/comp/beans/OOoBean.java
@@ -1453,11 +1453,10 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
dbgPrint( "EventListener(" + aTag + ").running() #" + ++n );
// still alive?
- com.sun.star.lang.XMultiComponentFactory xServiceManager = null;
try
{
// an arbitrary (but cheap) call into OOo
- xServiceManager = iConnection.getComponentContext().getServiceManager();
+ iConnection.getComponentContext().getServiceManager();
// call successfully performed, restart watch for next loop
try