summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorTsutomu Uchino <hanya@apache.org>2015-01-16 17:02:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-19 12:36:17 +0000
commitb698b9362b1a4ab58e0307a20f65dea796087344 (patch)
treed8a28a2dea78197b6262287301c4df15a7edb4c7 /offapi
parent36e158ce7a0effb130936ba4598a193102faa6a1 (diff)
Related: #i34459# add description about IllegalArgumentException...
thrown by unprotect method and about some arguments (cherry picked from commit abaff3a9330500a7394767081bfb52788028ff0c) Change-Id: I3ee203279647a506e6cb860387aac3e4379c9c75
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/util/XProtectable.idl8
1 files changed, 8 insertions, 0 deletions
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 );