summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Spreadsheet
diff options
context:
space:
mode:
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);
-// }
}