diff options
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 ); |