You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ha...@apache.org on 2015/01/16 18:02:52 UTC

svn commit: r1652460 - /openoffice/trunk/main/offapi/com/sun/star/util/XProtectable.idl

Author: hanya
Date: Fri Jan 16 17:02:52 2015
New Revision: 1652460

URL: http://svn.apache.org/r1652460
Log:
#i34459# add description about IllegalArgumentException thrown by unprotect method and about some arguments

Modified:
    openoffice/trunk/main/offapi/com/sun/star/util/XProtectable.idl

Modified: openoffice/trunk/main/offapi/com/sun/star/util/XProtectable.idl
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/offapi/com/sun/star/util/XProtectable.idl?rev=1652460&r1=1652459&r2=1652460&view=diff
==============================================================================
--- openoffice/trunk/main/offapi/com/sun/star/util/XProtectable.idl (original)
+++ openoffice/trunk/main/offapi/com/sun/star/util/XProtectable.idl Fri Jan 16 17:02:52 2015
@@ -44,11 +44,19 @@ published interface XProtectable: com::s
 { 
 	//------------------------------------------------------------------------- 
 	/** 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 );