java: remove commented out code for OpenOffice 3.3
Specifically the comment says: This method not longer necessary since OOo 3.4 where the component registration was changed to passive component registration. For more details see http://wiki.openoffice.org/wiki/Passive_Component_Registration Change-Id: Icfeec634ebc30a270533787b94e2a9a4318778db
This commit is contained in:
@@ -299,19 +299,5 @@ public class ExampleAddIn
|
||||
multiFactory, regKey);
|
||||
return xSingleServiceFactory;
|
||||
}
|
||||
|
||||
// This method not longer necessary since OOo 3.4 where the component registration
|
||||
// was changed to passive component registration. For more details see
|
||||
// http://wiki.openoffice.org/wiki/Passive_Component_Registration
|
||||
|
||||
// public static boolean __writeRegistryServiceInfo(
|
||||
// com.sun.star.registry.XRegistryKey regKey)
|
||||
// {
|
||||
// // register for both the base AddIn and the own service
|
||||
// return com.sun.star.comp.loader.FactoryHelper.writeRegistryServiceInfo(
|
||||
// _ExampleAddIn.aImplName, _ExampleAddIn.aExampleService, regKey)
|
||||
// && com.sun.star.comp.loader.FactoryHelper.writeRegistryServiceInfo(
|
||||
// _ExampleAddIn.aImplName, _ExampleAddIn.aAddInService, regKey);
|
||||
// }
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user