diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2011-03-07 16:31:11 +0100 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2011-03-07 16:31:11 +0100 |
commit | 33e2b11638c87ffed5d91405ba76cb00cd91e1be (patch) | |
tree | e30a081dee51efa24b250ddb608973ab7543b37e /odk/examples/java/PropertySet/PropTest.java | |
parent | merged DEV300 (diff) | |
parent | jsc340: i114609: no visibility compiler flag for jni lib (diff) | |
download | core-33e2b11638c87ffed5d91405ba76cb00cd91e1be.tar.gz core-33e2b11638c87ffed5d91405ba76cb00cd91e1be.zip |
CWS-TOOLING: integrate CWS jsc340
Diffstat (limited to 'odk/examples/java/PropertySet/PropTest.java')
-rw-r--r-- | odk/examples/java/PropertySet/PropTest.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/odk/examples/java/PropertySet/PropTest.java b/odk/examples/java/PropertySet/PropTest.java index e8652c7689bb..396cb15b084a 100644 --- a/odk/examples/java/PropertySet/PropTest.java +++ b/odk/examples/java/PropertySet/PropTest.java @@ -257,9 +257,13 @@ public class PropTest extends PropertySet implements XServiceInfo return xSingleServiceFactory; } - public static boolean __writeRegistryServiceInfo(XRegistryKey regKey) - { - return FactoryHelper.writeRegistryServiceInfo( PropTest.class.getName(), - PropTest.__serviceName, regKey); - } + // 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.services.openoffice.org/wiki/Passive_Component_Registration + +// public static boolean __writeRegistryServiceInfo(XRegistryKey regKey) +// { +// return FactoryHelper.writeRegistryServiceInfo( PropTest.class.getName(), +// PropTest.__serviceName, regKey); +// } } |