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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 19 12:13:03 UTC 2018


 comphelper/source/xml/xmltools.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8c7e64cd3854a912ef33b5a717a9f36856925c7c
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Wed Sep 19 08:16:42 2018 +0200
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Wed Sep 19 14:12:37 2018 +0200

    generateGUIDString: Fix incorrect string length
    
    This bug caused signature line IDs in OOXML to be written
    with an appended "_x0000_".
    
    Change-Id: If219279a5d5177ec5fac2d9dd747dc015c16b6bc
    Reviewed-on: https://gerrit.libreoffice.org/60736
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/comphelper/source/xml/xmltools.cxx b/comphelper/source/xml/xmltools.cxx
index e9df23c73e1e..24919ae35044 100644
--- a/comphelper/source/xml/xmltools.cxx
+++ b/comphelper/source/xml/xmltools.cxx
@@ -102,7 +102,7 @@ namespace comphelper
                     aSeq[0], aSeq[1], aSeq[2], aSeq[3], aSeq[4], aSeq[5], aSeq[6], aSeq[7], aSeq[8],
                     aSeq[9], aSeq[10], aSeq[11], aSeq[12], aSeq[13], aSeq[14], aSeq[15]);
 
-            return OString(str, SAL_N_ELEMENTS(str));
+            return OString(str);
         }
     }
 }


More information about the Libreoffice-commits mailing list