[Libreoffice-commits] core.git: filter/source

Tor Lillqvist tml at collabora.com
Tue Feb 17 01:24:05 PST 2015


 filter/source/pdf/impdialog.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 6d500371eb109ea0e10c08e6f6514fc340a29484
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Feb 17 11:13:53 2015 +0200

    Bin wrong, misleading and pointless comments
    
    Change-Id: I3d5218b4777f7a1f486b5d4faec1959ade39d123

diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 9ab990c..5e1dc52 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -440,33 +440,27 @@ Sequence< PropertyValue > ImpPDFTabDialog::GetFilterData()
 
     aRet.realloc( aRet.getLength() + nElementAdded );
 
-    // add the encryption enable flag
     sal_uInt32 const nLength(aRet.getLength());
     aRet[ nLength - nElementAdded ].Name = "Watermark";
     aRet[ nLength - nElementAdded ].Value <<= maWatermarkText;
     nElementAdded--;
 
-// add the encryption enable flag
     aRet[ nLength - nElementAdded ].Name = "EncryptFile";
     aRet[ nLength - nElementAdded ].Value <<= mbEncrypt;
     nElementAdded--;
 
-// add the open password
     aRet[ nLength - nElementAdded ].Name = "PreparedPasswords";
     aRet[ nLength - nElementAdded ].Value <<= mxPreparedPasswords;
     nElementAdded--;
 
-//the restrict permission flag (needed to have the scripting consistent with the dialog)
     aRet[ nLength - nElementAdded ].Name = "RestrictPermissions";
     aRet[ nLength - nElementAdded ].Value <<= mbRestrictPermissions;
     nElementAdded--;
 
-//add the permission password
     aRet[ nLength - nElementAdded ].Name = "PreparedPermissionPassword";
     aRet[ nLength - nElementAdded ].Value <<= maPreparedOwnerPassword;
     nElementAdded--;
 
-// this should be the last added...
     if( mbIsRangeChecked )
     {
         aRet[ nLength - nElementAdded ].Name = "PageRange";


More information about the Libreoffice-commits mailing list