diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-12 16:27:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:24 +0200 |
commit | 8583da1e934a49791ef8d86668f3d5c3c5dae1d7 (patch) | |
tree | f092f708b7bb9a0a23ae82c1dc499a6e3fde4518 /swext | |
parent | java: reduce scope, make some methods private (diff) | |
download | core-8583da1e934a49791ef8d86668f3d5c3c5dae1d7.tar.gz core-8583da1e934a49791ef8d86668f3d5c3c5dae1d7.zip |
java: remove unused fields
found by UCDetector
Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
Diffstat (limited to 'swext')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/Helper.java | 6 | ||||
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/Helper.java b/swext/mediawiki/src/com/sun/star/wiki/Helper.java index af5934eb2dda..ed78dae482da 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/Helper.java +++ b/swext/mediawiki/src/com/sun/star/wiki/Helper.java @@ -80,9 +80,9 @@ public class Helper public final static int DLG_SENDTITLE = 6; public final static int DLG_WIKIARTICLE = 7; - public final static int DLG_NO = 8; + public final static int DLG_OK = 9; - public final static int DLG_YES = 10; + // 11 is reserved public final static int DLG_ADDBUTTON = 12; public final static int DLG_EDITBUTTON = 13; @@ -92,7 +92,7 @@ public class Helper public final static int DLG_EDITSETTING_URLLABEL = 16; public final static int DLG_EDITSETTING_USERNAMELABEL = 17; public final static int DLG_EDITSETTING_PASSWORDLABEL = 18; - public final static int DLG_NEWWIKIPAGE_LABEL1 = 19; + public final static int DLG_SENDTOMEDIAWIKI_LABEL1 = 20; public final static int DLG_SENDTOMEDIAWIKI_LABEL2 = 21; public final static int DLG_SENDTOMEDIAWIKI_LABEL3 = 22; diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java index 969af1689474..f251fc485777 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java @@ -53,9 +53,8 @@ public final class WikiEditorImpl extends WeakBase private static final String m_implementationName = WikiEditorImpl.class.getName(); private static final String[] m_serviceNames = {"com.sun.star.wiki.WikiEditor" }; - // information needed for component registration - public static final String[] supportedServiceNames = {"com.sun.star.frame.ProtocolHandler"}; - public static final Class implementationClass = WikiEditorImpl.class; + + // protocol name that this protocol handler handles private static final String protocolName = "vnd.com.sun.star.wiki:"; |