diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-09-02 10:49:51 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-09-08 20:53:28 +0200 |
commit | 53425404ae70bf365073cce2f5d576b769446c97 (patch) | |
tree | a5518b279efe19667cbe92bcb0f999d18ed0372f /swext/mediawiki/src/com | |
parent | 420170c8ddc5b6f16ca44113e28f77653aa3262f (diff) |
swext: use proper syntax for accessing outer class this
Change-Id: Ie2d466b4e1a567d204b109208fce84842bea2a19
Diffstat (limited to 'swext/mediawiki/src/com')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java | 7 | ||||
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java index 1c9db304f358..2c74d4070522 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditSettingDialog.java @@ -361,7 +361,6 @@ public class WikiEditSettingDialog extends WikiDialog { final XDialog xDialogForThread = xDialog; final XComponentContext xContext = m_xContext; - final WikiEditSettingDialog aThis = this; // the thread name is used to allow the error dialogs m_bThreadFinished = false; @@ -376,9 +375,9 @@ public class WikiEditSettingDialog extends WikiDialog } catch( java.lang.Exception e ){} DoLogin(); - aThis.EnableControls( true ); - aThis.SetThrobberActive( false ); - aThis.SetThrobberVisible( false ); + WikiEditSettingDialog.this.EnableControls( true ); + WikiEditSettingDialog.this.SetThrobberActive( false ); + WikiEditSettingDialog.this.SetThrobberVisible( false ); ThreadStop( true ); diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java index 48e55f3cd187..a9df95282b51 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java @@ -275,7 +275,6 @@ public class WikiPropDialog extends WikiDialog{ ex.printStackTrace(); } - final WikiPropDialog aThisDialog = this; final XDialog xDialogToClose = xDialog; final XComponentContext xContext = m_xContext; @@ -297,7 +296,8 @@ public class WikiPropDialog extends WikiDialog{ if ( m_aWikiEditor != null ) { Thread.yield(); - m_bAction = m_aWikiEditor.SendArticleImpl( aThisDialog, aWikiSettings ); + m_bAction = m_aWikiEditor.SendArticleImpl( + WikiPropDialog.this, aWikiSettings); } } finally @@ -321,7 +321,8 @@ public class WikiPropDialog extends WikiDialog{ { if ( m_aWikiEditor != null ) { - m_bAction = m_aWikiEditor.SendArticleImpl( aThisDialog, aWikiSettings ); + m_bAction = m_aWikiEditor.SendArticleImpl( + WikiPropDialog.this, aWikiSettings); } } catch( java.lang.Exception e ) {} |