[Libreoffice-commits] core.git: include/comphelper

Eike Rathke erack at redhat.com
Mon Feb 26 12:35:22 UTC 2018


 include/comphelper/docpasswordhelper.hxx |    4 ++--
 include/comphelper/hash.hxx              |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 238c6a45e02c8a0a3f462ab493c5d58b3d8f075f
Author: Eike Rathke <erack at redhat.com>
Date:   Mon Feb 26 13:34:16 2018 +0100

    Remove LittleEndian constraint, will handle that in calculateHash()
    
    Change-Id: I2534f3fa75484a2bb5f0c3d4bee3fca4f843095f

diff --git a/include/comphelper/docpasswordhelper.hxx b/include/comphelper/docpasswordhelper.hxx
index 0755106b1d23..30243c347884 100644
--- a/include/comphelper/docpasswordhelper.hxx
+++ b/include/comphelper/docpasswordhelper.hxx
@@ -185,7 +185,7 @@ public:
         OOXML sheetProtection and fileSharing elements.
 
         @param  rPassword
-                UTF-16LE encoded string without leading BOM character
+                UTF-16 encoded string without leading BOM character
 
         @param  rSaltValue
                 Base64 encoded salt that will be decoded and prepended to password
@@ -225,7 +225,7 @@ public:
         OOXML sheetProtection and fileSharing elements.
 
         @param  rPassword
-                UTF-16LE encoded string without leading BOM character
+                UTF-16 encoded string without leading BOM character
 
         @param  rSaltValue
                 Base64 encoded salt that will be decoded and prepended to password
diff --git a/include/comphelper/hash.hxx b/include/comphelper/hash.hxx
index 9ef2cbd58465..08ae5fd119a8 100644
--- a/include/comphelper/hash.hxx
+++ b/include/comphelper/hash.hxx
@@ -81,7 +81,7 @@ public:
     /** Convenience function to calculate a salted hash with iterations.
 
         @param  rPassword
-                UTF-16LE encoded string, hashed byte-wise as unsigned char.
+                UTF-16 encoded string, hashed byte-wise as unsigned char.
 
         @param  rSaltValue
                 Salt that will be prepended to password data.


More information about the Libreoffice-commits mailing list