Kaydet (Commit) 53425404 authored tarafından Michael Stahl's avatar Michael Stahl

swext: use proper syntax for accessing outer class this

Change-Id: Ie2d466b4e1a567d204b109208fce84842bea2a19
üst 420170c8
...@@ -361,7 +361,6 @@ public class WikiEditSettingDialog extends WikiDialog ...@@ -361,7 +361,6 @@ public class WikiEditSettingDialog extends WikiDialog
{ {
final XDialog xDialogForThread = xDialog; final XDialog xDialogForThread = xDialog;
final XComponentContext xContext = m_xContext; final XComponentContext xContext = m_xContext;
final WikiEditSettingDialog aThis = this;
// the thread name is used to allow the error dialogs // the thread name is used to allow the error dialogs
m_bThreadFinished = false; m_bThreadFinished = false;
...@@ -376,9 +375,9 @@ public class WikiEditSettingDialog extends WikiDialog ...@@ -376,9 +375,9 @@ public class WikiEditSettingDialog extends WikiDialog
} catch( java.lang.Exception e ){} } catch( java.lang.Exception e ){}
DoLogin(); DoLogin();
aThis.EnableControls( true ); WikiEditSettingDialog.this.EnableControls( true );
aThis.SetThrobberActive( false ); WikiEditSettingDialog.this.SetThrobberActive( false );
aThis.SetThrobberVisible( false ); WikiEditSettingDialog.this.SetThrobberVisible( false );
ThreadStop( true ); ThreadStop( true );
......
...@@ -275,7 +275,6 @@ public class WikiPropDialog extends WikiDialog{ ...@@ -275,7 +275,6 @@ public class WikiPropDialog extends WikiDialog{
ex.printStackTrace(); ex.printStackTrace();
} }
final WikiPropDialog aThisDialog = this;
final XDialog xDialogToClose = xDialog; final XDialog xDialogToClose = xDialog;
final XComponentContext xContext = m_xContext; final XComponentContext xContext = m_xContext;
...@@ -297,7 +296,8 @@ public class WikiPropDialog extends WikiDialog{ ...@@ -297,7 +296,8 @@ public class WikiPropDialog extends WikiDialog{
if ( m_aWikiEditor != null ) if ( m_aWikiEditor != null )
{ {
Thread.yield(); Thread.yield();
m_bAction = m_aWikiEditor.SendArticleImpl( aThisDialog, aWikiSettings ); m_bAction = m_aWikiEditor.SendArticleImpl(
WikiPropDialog.this, aWikiSettings);
} }
} }
finally finally
...@@ -321,7 +321,8 @@ public class WikiPropDialog extends WikiDialog{ ...@@ -321,7 +321,8 @@ public class WikiPropDialog extends WikiDialog{
{ {
if ( m_aWikiEditor != null ) if ( m_aWikiEditor != null )
{ {
m_bAction = m_aWikiEditor.SendArticleImpl( aThisDialog, aWikiSettings ); m_bAction = m_aWikiEditor.SendArticleImpl(
WikiPropDialog.this, aWikiSettings);
} }
} catch( java.lang.Exception e ) } catch( java.lang.Exception e )
{} {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment