[Libreoffice-commits] core.git: Branch 'aoo/trunk' - offapi/com

Tsutomu Uchino hanya at apache.org
Fri Jan 16 10:09:46 PST 2015


 offapi/com/sun/star/util/XProtectable.idl |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit abaff3a9330500a7394767081bfb52788028ff0c
Author: Tsutomu Uchino <hanya at apache.org>
Date:   Fri Jan 16 17:02:52 2015 +0000

    #i34459# add description about IllegalArgumentException thrown by unprotect method and about some arguments

diff --git a/offapi/com/sun/star/util/XProtectable.idl b/offapi/com/sun/star/util/XProtectable.idl
index d794e90..6bb590a 100644
--- a/offapi/com/sun/star/util/XProtectable.idl
+++ b/offapi/com/sun/star/util/XProtectable.idl
@@ -44,11 +44,19 @@ 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 );


More information about the Libreoffice-commits mailing list