From db203e59d6b54112cbf42923d4f02940b15e3c9f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 5 Dec 2014 10:53:55 +0200 Subject: java: remove some unused fields Change-Id: I1b6fb6b47439c448ac31983702772e2115c70d56 --- bean/com/sun/star/comp/beans/OOoBean.java | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'bean/com/sun') diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index ddf20b23c62a..964ff80ed08e 100644 --- a/bean/com/sun/star/comp/beans/OOoBean.java +++ b/bean/com/sun/star/comp/beans/OOoBean.java @@ -64,7 +64,6 @@ public class OOoBean private transient OfficeDocument aDocument; // slot command execution environment - private transient com.sun.star.frame.XDispatchProvider xDispatcher; private transient com.sun.star.util.XURLTransformer xURLTransformer; // properties @@ -389,7 +388,6 @@ public class OOoBean } aDocument = null; - xDispatcher = null; aFrame = null; // clear xFrameWindow @@ -589,14 +587,14 @@ public class OOoBean com.sun.star.util.XURLTransformer.class, xServiceFactory.createInstance( "com.sun.star.util.URLTransformer") ); - try - { - xDispatcher = UnoRuntime.queryInterface(com.sun.star.frame.XDispatchProvider.class, aFrame); - } - catch (Exception e) - { - /*ignore!*/ - } + try + { + UnoRuntime.queryInterface(com.sun.star.frame.XDispatchProvider.class, aFrame); + } + catch (Exception e) + { + /*ignore!*/ + } // get XComponentLoader from frame com.sun.star.frame.XComponentLoader xLoader = UnoRuntime.queryInterface( com.sun.star.frame.XComponentLoader.class, aFrame ); -- cgit