diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-05 11:03:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-05 11:15:57 +0200 |
commit | c199b76d882619bf9c4169631bc265e5bd2ca7fe (patch) | |
tree | aca1e89f3bc907a8f7b8e0fe5702bbe619f4a6a8 /swext | |
parent | db203e59d6b54112cbf42923d4f02940b15e3c9f (diff) |
java: remove some unused local variables
Change-Id: Ia01528460e2f4b610d123e29cad66520abc6a965
Diffstat (limited to 'swext')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/Helper.java | 1 | ||||
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java | 9 |
2 files changed, 1 insertions, 9 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/Helper.java b/swext/mediawiki/src/com/sun/star/wiki/Helper.java index fa48a3500076..5900e9aa96cd 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/Helper.java +++ b/swext/mediawiki/src/com/sun/star/wiki/Helper.java @@ -608,7 +608,6 @@ public class Helper aProxyPortProp = "ooInetHTTPSProxyPort"; } - String aNoProxyList = AnyConverter.toString( xNameAccess.getByName( "ooInetNoProxy" ) ); String aProxyName = AnyConverter.toString( xNameAccess.getByName( aProxyNameProp ) ); int nProxyPort = 80; diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java index 3ad6b5c410b9..8abc01b9e9ed 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java @@ -107,18 +107,11 @@ public final class WikiEditorImpl extends WeakBase } - private boolean m_bInitialized; public synchronized void initialize( Object[] args ) throws com.sun.star.uno.Exception { - if ( m_bInitialized ) - { - } if ( args.length > 0 ) { - m_bInitialized = true; m_xFrame = UnoRuntime.queryInterface( XFrame.class, args[0] ); - // become close listener - XCloseBroadcaster cb = UnoRuntime.queryInterface( XCloseBroadcaster.class, m_xFrame ); } } @@ -197,7 +190,7 @@ public final class WikiEditorImpl extends WeakBase { try { - URI uri = new URI( uristring ); + new URI( uristring ); // check whether any blogs are live... setListenerState( "command"); |