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
);