diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev')
5 files changed, 0 insertions, 114 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java index 4dce982fba3f..1cade50192f8 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java @@ -697,29 +697,4 @@ public class AsciiReplaceFilter _AsciiReplaceFilter.m_serviceNames); return xFactory; } - - - /** - * Writes the service information into the given registry key. - * This method is called by the <code>JavaLoader</code>. - * - * @param xRegistryKey - * Makes structural information (except regarding tree - * structures) of a single registry key accessible. - * - * @return returns true if the operation succeeded - * - * @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( com.sun.star.registry.XRegistryKey xRegistryKey ) -// { -// return Factory.writeRegistryServiceInfo( -// _AsciiReplaceFilter.class.getName(), -// _AsciiReplaceFilter.m_serviceNames, -// xRegistryKey ); -// } } diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java index 942c97a6802c..e096eb4660b8 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_java/FlatXml.java @@ -261,15 +261,4 @@ public class FlatXml implements XImportFilter, XExportFilter, XServiceName, } 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(XRegistryKey regKey) -// { -// return FactoryHelper.writeRegistryServiceInfo(__implName, -// __serviceName, regKey); -// } - } diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java index f74c5a7d8884..f7f156feed98 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleHyphenator.java @@ -508,31 +508,5 @@ public class SampleHyphenator extends ComponentBase implements } return xSingleComponentFactory; } - - /** - * 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 xRegKey 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( -// com.sun.star.registry.XRegistryKey xRegKey ) -// { -// boolean bResult = true; -// String[] aServices = getSupportedServiceNames_Static(); -// int i, nLength = aServices.length; -// for( i = 0; i < nLength; ++i ) -// { -// bResult = bResult && com.sun.star.comp.loader.FactoryHelper.writeRegistryServiceInfo( -// _aSvcImplName, aServices[i], xRegKey ); -// } -// return bResult; -// } } diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java index 7887fa06af30..0b6be21573f2 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleSpellChecker.java @@ -451,31 +451,5 @@ public class SampleSpellChecker extends ComponentBase implements } return xSingleComponentFactory; } - - /** - * 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 xRegKey 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( -// com.sun.star.registry.XRegistryKey xRegKey ) -// { -// boolean bResult = true; -// String[] aServices = getSupportedServiceNames_Static(); -// int i, nLength = aServices.length; -// for( i = 0; i < nLength; ++i ) -// { -// bResult = bResult && com.sun.star.comp.loader.FactoryHelper.writeRegistryServiceInfo( -// _aSvcImplName, aServices[i], xRegKey ); -// } -// return bResult; -// } } diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java index 5feb49bd3e99..9491421b4466 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/SampleThesaurus.java @@ -287,31 +287,5 @@ public class SampleThesaurus extends ComponentBase implements } return xSingleComponentFactory; } - - /** - * 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 xRegKey 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( -// com.sun.star.registry.XRegistryKey xRegKey ) -// { -// boolean bResult = true; -// String[] aServices = getSupportedServiceNames_Static(); -// int i, nLength = aServices.length; -// for( i = 0; i < nLength; ++i ) -// { -// bResult = bResult && com.sun.star.comp.loader.FactoryHelper.writeRegistryServiceInfo( -// _aSvcImplName, aServices[i], xRegKey ); -// } -// return bResult; -// } } |