summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Spreadsheet
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-04 13:51:59 +0200
committerNoel Grandin <noel@peralex.com>2014-08-04 14:50:59 +0200
commit0781dad870cb48b8604e84df1750422c91d70f1a (patch)
treeb49948231d0fde9a46eb060457fcf44a6fd0de26 /odk/examples/DevelopersGuide/Spreadsheet
parent66c34ff3e7cb940536b7257033c097491862d04f (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/DevelopersGuide/Spreadsheet')
-rw-r--r--odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java14
-rw-r--r--odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java12
2 files changed, 0 insertions, 26 deletions
diff --git a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
index eefe3bb9a486..cb78f88e3992 100644
--- a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
+++ b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
@@ -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);
-// }
}
diff --git a/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java b/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java
index 0ef2a09d44fd..b28daf1cc118 100644
--- a/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java
+++ b/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java
@@ -983,17 +983,5 @@ public class ExampleDataPilotSource
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)
-// {
-// return com.sun.star.comp.loader.FactoryHelper.writeRegistryServiceInfo(
-// _ExampleDataPilotSource.aImplName,
-// _ExampleDataPilotSource.aServiceName, regKey);
-// }
}