From b698b9362b1a4ab58e0307a20f65dea796087344 Mon Sep 17 00:00:00 2001 From: Tsutomu Uchino Date: Fri, 16 Jan 2015 17:02:52 +0000 Subject: Related: #i34459# add description about IllegalArgumentException... thrown by unprotect method and about some arguments (cherry picked from commit abaff3a9330500a7394767081bfb52788028ff0c) Change-Id: I3ee203279647a506e6cb860387aac3e4379c9c75 --- 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 06eaa6251df7..62e8b123b6dc 100644 --- a/offapi/com/sun/star/util/XProtectable.idl +++ b/offapi/com/sun/star/util/XProtectable.idl @@ -33,10 +33,18 @@ module com { module sun { module star { module util { 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