From abaff3a9330500a7394767081bfb52788028ff0c Mon Sep 17 00:00:00 2001 From: Tsutomu Uchino Date: Fri, 16 Jan 2015 17:02:52 +0000 Subject: #i34459# add description about IllegalArgumentException thrown by unprotect method and about some arguments --- offapi/com/sun/star/util/XProtectable.idl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'offapi') diff --git a/offapi/com/sun/star/util/XProtectable.idl b/offapi/com/sun/star/util/XProtectable.idl index d794e90ac301..6bb590a42d1d 100644 --- a/offapi/com/sun/star/util/XProtectable.idl +++ b/offapi/com/sun/star/util/XProtectable.idl @@ -44,11 +44,19 @@ published interface XProtectable: com::sun::star::uno::XInterface { //------------------------------------------------------------------------- /** activates the protection. + + @param aPassword + a string to specify new password. */ void protect( [in] string aPassword ); //------------------------------------------------------------------------- /** removes the protection. + + @param aPassword + a string to match with the current password. + @throws com::sun::star::lang::IllegalArgumentException + if invalid password is specified. */ void unprotect( [in] string aPassword ) raises( com::sun::star::lang::IllegalArgumentException ); -- cgit