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

New commits:
commit 8c7e64cd3854a912ef33b5a717a9f36856925c7c
Author:     Samuel Mehrbrodt <[email protected]>
AuthorDate: Wed Sep 19 08:16:42 2018 +0200
Commit:     Samuel Mehrbrodt <[email protected]>
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 <[email protected]>
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <[email protected]>

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);
         }
     }
 }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to