Kaydet (Commit) b698b936 authored tarafından Tsutomu Uchino's avatar Tsutomu Uchino Kaydeden (comit) Caolán McNamara

Related: #i34459# add description about IllegalArgumentException...

thrown by unprotect method and about some arguments

(cherry picked from commit abaff3a9)

Change-Id: I3ee203279647a506e6cb860387aac3e4379c9c75
üst 36e158ce
...@@ -33,10 +33,18 @@ module com { module sun { module star { module util { ...@@ -33,10 +33,18 @@ module com { module sun { module star { module util {
published interface XProtectable: com::sun::star::uno::XInterface published interface XProtectable: com::sun::star::uno::XInterface
{ {
/** activates the protection. /** activates the protection.
@param aPassword
a string to specify new password.
*/ */
void protect( [in] string aPassword ); void protect( [in] string aPassword );
/** removes the protection. /** 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 ) void unprotect( [in] string aPassword )
raises( com::sun::star::lang::IllegalArgumentException ); raises( com::sun::star::lang::IllegalArgumentException );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment