diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-09-08 12:10:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-09-08 12:12:00 +0100 |
commit | 5f6b19760865d1f7720466416a69cc2d29f13b59 (patch) | |
tree | 4e8488abbb59e6a130be32a437046f59e566eb2c /swext | |
parent | 9d4ed5737f2c6f73b02e5878cd3f8cc013443b34 (diff) |
mediawiki options went missing
regression from 34bcf9b498bccb5c924f4cec850ff15d88df6f07
Change-Id: Ibd0645bd218c81da110b3704a530e3849b761fb4
Date: Wed Aug 13 10:08:31 2014 +0200
java: remove dead methods
found by UCDetector
Diffstat (limited to 'swext')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java index 22b344eea765..959cf9970838 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiEditorImpl.java @@ -68,7 +68,18 @@ public final class WikiEditorImpl extends WeakBase m_aSettings = Settings.getSettings( m_xContext ); } + public static XSingleComponentFactory __getComponentFactory( String sImplementationName ) + { + XSingleComponentFactory xFactory = null; + + if ( sImplementationName.equals( m_implementationName ) ) + xFactory = Factory.createComponentFactory( WikiEditorImpl.class, m_serviceNames ); + else if ( sImplementationName.equals( WikiOptionsEventHandlerImpl.m_sImplementationName ) ) + xFactory = Factory.createComponentFactory( WikiOptionsEventHandlerImpl.class, + WikiOptionsEventHandlerImpl.m_pServiceNames ); + return xFactory; + } // com.sun.star.lang.XServiceInfo: public String getImplementationName() |