diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-06 10:26:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-12 09:41:30 +0200 |
commit | f086884fc33aabd4c9abb1efd8f6892dba4830cf (patch) | |
tree | 0f692e65cbc1681297060f858e406577a815795b /swext/mediawiki | |
parent | c218458ead60205addf997e251427eb08d889e94 (diff) |
java: remove unused parameters
Change-Id: If51df0579dad2496d88699e6c850976d7e89ca9b
Diffstat (limited to 'swext/mediawiki')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/MainThreadDialogExecutor.java | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/MainThreadDialogExecutor.java b/swext/mediawiki/src/com/sun/star/wiki/MainThreadDialogExecutor.java index 038f4998caab..b4cb658e7734 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/MainThreadDialogExecutor.java +++ b/swext/mediawiki/src/com/sun/star/wiki/MainThreadDialogExecutor.java @@ -56,7 +56,9 @@ public class MainThreadDialogExecutor implements XCallback static public boolean Close( XComponentContext xContext, XDialog xDialog ) { - MainThreadDialogExecutor aExecutor = new MainThreadDialogExecutor( xDialog, true ); + MainThreadDialogExecutor aExecutor = new MainThreadDialogExecutor( xDialog ); + aExecutor.m_bClose = true; + aExecutor.m_bCalled = true; // no yielding, asynchronous closing return GetCallback( xContext, aExecutor ); } @@ -116,13 +118,6 @@ public class MainThreadDialogExecutor implements XCallback m_xDialog = xDialog; } - private MainThreadDialogExecutor( XDialog xDialog, boolean bClose ) - { - m_xDialog = xDialog; - m_bClose = true; - m_bCalled = true; // no yielding, asynchronous closing - } - private MainThreadDialogExecutor( XMessageBox xMessageBox ) { m_xMessageBox = xMessageBox; |