summaryrefslogtreecommitdiff
path: root/offapi/com
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2023-11-16 13:56:06 +0100
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2023-11-20 11:17:23 +0100
commita91892ec4942fc875820ea02dfbe74e986548142 (patch)
tree92329e4faf0083349bcf90eb87c8f46ef8df6923 /offapi/com
parenta09092f20455ea68a22f815a8b086fc4c4c5100d (diff)
Use existing types, instead of strings
as suggested in https://gerrit.libreoffice.org/c/core/+/158028/comments/b7a803f4_7e5899ca Change-Id: I7d4c46b24307922b51e463bacdfacfca85956b80 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159524 Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de> Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'offapi/com')
-rw-r--r--offapi/com/sun/star/configuration/XDocumentation.idl8
1 files changed, 6 insertions, 2 deletions
diff --git a/offapi/com/sun/star/configuration/XDocumentation.idl b/offapi/com/sun/star/configuration/XDocumentation.idl
index 2ed430a72854..f44a107c4508 100644
--- a/offapi/com/sun/star/configuration/XDocumentation.idl
+++ b/offapi/com/sun/star/configuration/XDocumentation.idl
@@ -36,9 +36,13 @@ interface XDocumentation {
@throws NoSuchElementException
if an element under aName does not exist.
+
+ @throws InvalidStateException
+ when the type of the object could not be resolved.
*/
- string getTypeByHierarchicalName( [in] string aName )
- raises( com::sun::star::container::NoSuchElementException );
+ type getTypeByHierarchicalName( [in] string aName )
+ raises( com::sun::star::container::NoSuchElementException,
+ com::sun::star::util::InvalidStateException );
};
}; }; }; };