diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-04 13:51:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-04 14:50:59 +0200 |
commit | 0781dad870cb48b8604e84df1750422c91d70f1a (patch) | |
tree | b49948231d0fde9a46eb060457fcf44a6fd0de26 /odk/examples/java/Spreadsheet | |
parent | 66c34ff3e7cb940536b7257033c097491862d04f (diff) |
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
Diffstat (limited to 'odk/examples/java/Spreadsheet')
-rw-r--r-- | odk/examples/java/Spreadsheet/CalcAddins.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/odk/examples/java/Spreadsheet/CalcAddins.java b/odk/examples/java/Spreadsheet/CalcAddins.java index e0387a481d1e..7b4a2853a264 100644 --- a/odk/examples/java/Spreadsheet/CalcAddins.java +++ b/odk/examples/java/Spreadsheet/CalcAddins.java @@ -281,22 +281,4 @@ public class CalcAddins { return xSingleServiceFactory; } - /** - * Writes the service information into the given registry key. - * This method is called by the <code>JavaLoader</code> - * <p> - * @return returns true if the operation succeeded - * @param regKey the registryKey - * @see com.sun.star.comp.loader.JavaLoader - */ - // 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(XRegistryKey regKey) { -// return FactoryHelper.writeRegistryServiceInfo(_CalcAddins.class.getName(), -// _CalcAddins.__serviceName, regKey) -// && FactoryHelper.writeRegistryServiceInfo(_CalcAddins.class.getName(), -// _CalcAddins.ADDIN_SERVICE, regKey); -// } } |