diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-05 10:53:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-05 11:15:56 +0200 |
commit | db203e59d6b54112cbf42923d4f02940b15e3c9f (patch) | |
tree | de4dac4b58cbf877fbcf47dbb38a27ac0f4fab4f /bean/com/sun | |
parent | 4ae96069bbdc243c40e98872fe5090f6bf4880f1 (diff) |
java: remove some unused fields
Change-Id: I1b6fb6b47439c448ac31983702772e2115c70d56
Diffstat (limited to 'bean/com/sun')
-rw-r--r-- | bean/com/sun/star/comp/beans/OOoBean.java | 18 |
1 files changed, 8 insertions, 10 deletions
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 ); |