diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 10:47:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-10 17:39:51 +0100 |
commit | dd1050b182260a26a1d0ba6d0ef3a6fecc3f4e07 (patch) | |
tree | a032e26785798b60bf3d98d34ce3f20ebcc96e57 /udkapi/com | |
parent | coverity#707857 Uninitialized scalar field (diff) | |
download | core-dd1050b182260a26a1d0ba6d0ef3a6fecc3f4e07.tar.gz core-dd1050b182260a26a1d0ba6d0ef3a6fecc3f4e07.zip |
Deprecate com.sun.star.XTypeProvider.getImplementationId
...now that no client code should remain that depends on non-empty sequences.
Change-Id: I91a8e8e14ae4a652a32ca4e76e1228de58f71633
Diffstat (limited to 'udkapi/com')
-rw-r--r-- | udkapi/com/sun/star/lang/XTypeProvider.idl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/udkapi/com/sun/star/lang/XTypeProvider.idl b/udkapi/com/sun/star/lang/XTypeProvider.idl index a396472bb0e9..efc0cd881b74 100644 --- a/udkapi/com/sun/star/lang/XTypeProvider.idl +++ b/udkapi/com/sun/star/lang/XTypeProvider.idl @@ -42,19 +42,19 @@ published interface XTypeProvider: com::sun::star::uno::XInterface sequence<type> getTypes(); - /** returns - a sequence of bytes with length > 0 that is used as an Id to distinguish - unambiguously between two sets of types, for example to realise hashing - functionality when the object is introspected. Two objects that return - the same UUID also have to return the same set of types in getTypes(). - - If a unique implementation Id cannot be provided this method has to return - an empty sequence. - - @attention - If the object aggregates other objects the UUID has to be unique - for the whole combination of objects. - */ + /** Obsolete unique identifier. + + Originally returned a sequence of bytes which, when non-empty, was used + as an ID to distinguish unambiguously between two sets of types, for + example to realise hashing functionality when the object is + introspected. Two objects that returned the same non-empty ID had to + return the same set of types in getTypes(). (If a unique ID could not + be provided, this method was always allowed to return an empty sequence, + though). + + @deprecated This feature should no longer be used, and implementations + are encouraged to always return an empty sequence. + */ sequence<byte> getImplementationId(); }; |