summaryrefslogtreecommitdiff
path: root/swext
diff options
context:
space:
mode:
Diffstat (limited to 'swext')
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/EditPageParser.java1
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java6
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java34
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java3
4 files changed, 0 insertions, 44 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/EditPageParser.java b/swext/mediawiki/src/com/sun/star/wiki/EditPageParser.java
index 7500be6e9b7f..b06c0d7d97b5 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/EditPageParser.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/EditPageParser.java
@@ -71,7 +71,6 @@ public class EditPageParser extends HTMLEditorKit.ParserCallback
public void handleError( String errorMsg,int pos )
{
- //System.out.println( errorMsg );
}
public void handleSimpleTag( HTML.Tag t, MutableAttributeSet a,int pos )
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java b/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java
index 1495404cf92b..e7ca9a8061a1 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java
@@ -63,12 +63,6 @@ public class WikiArticle
m_aMainURI = new URI( sMainUrl );
-// viewURL = sMainUrl + "index.php?title=" + m_sTitle;
-// editURL = sMainUrl + "index.php?title=" + m_sTitle + "&action=edit";
-// submitURL = sMainUrl + "index.php?title=" + m_sTitle + "&action=submit";
-// loginURL = sMainUrl + "index.php?title=Special:Userlogin";
-// loginSubmitURL = sMainUrl + "index.php?title=Special:Userlogin&action=submitlogin";
-
if ( bLogin )
{
WikiEditSettingDialog aDialog = new WikiEditSettingDialog(m_xContext, "vnd.sun.star.script:WikiEditor.EditSetting?location=application", wikiSettings, false );
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java
index 4cad2f69ecdd..f4bb361b8d09 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java
@@ -115,7 +115,6 @@ public final class WikiEditorImpl extends WeakBase
{
if ( m_bInitialized )
{
- //logger.log( Level.SEVERE, "Extension instance was initialized again" );
}
if ( args.length > 0 )
{
@@ -133,17 +132,8 @@ public final class WikiEditorImpl extends WeakBase
com.sun.star.beans.PropertyValue[] propertyValue )
{
final com.sun.star.util.URL myURL = aURL;
- //logger.log( Level.INFO, "received dispatch request for: "+aURL.Complete );
if ( aURL.Protocol.equals(protocolName) )
{
- /*
- synchronized( this )
- {
- if( m_bClosing ) return;
- else m_bActive = true;
- }
- **/
-
try
{
if ( myURL.Path.equals("send") )
@@ -152,31 +142,7 @@ public final class WikiEditorImpl extends WeakBase
}
} catch( java.lang.Throwable t )
{
- //logger.log( Level.WARNING, "exception while handeling dispatch", t );
- }
-
- /*
- synchronized( this )
- {
- m_bActive = false;
- // if we became owner while we were active
- // we are responsible for closing the m_xFrame now
- if ( m_bOwner && m_xFrame != null )
- {
- try
- {
- XCloseable xclose = ( XCloseable )UnoRuntime.queryInterface(
- XCloseable.class, m_xFrame );
- xclose.close( true );
- } catch ( CloseVetoException cve )
- {
- logger.log( Level.SEVERE, "cannot close owned frame" );
- }
- // relase reference to the m_xFrame;
- m_xFrame = null;
- }
}
- */
}
}
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java b/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java
index c184fcf478d5..2f4d7e887f3c 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/WikiPropDialog.java
@@ -136,9 +136,6 @@ public class WikiPropDialog extends WikiDialog{
{
XPropertySet xPS = GetPropSet("WikiList");
xPS.setPropertyValue("StringItemList", WikiList);
- // short [] nSel = new short[1];
- // nSel[0] = (short) m_aSettings.getLastUsedWikiServer();
- // xPS.setPropertyValue("SelectedItems", sel);
}
catch (Exception ex)
{