summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-09-19 08:16:42 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-09-20 01:52:39 +0200
commit4ceefe7c66f19e16e8e4414419e38f75c55ec6fd (patch)
treedf6688525d305fa1850c5c64a2632339f9888469
parent01abe2764f1778ad03cf643e799f0f387bd397e8 (diff)
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@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> (cherry picked from commit 8c7e64cd3854a912ef33b5a717a9f36856925c7c) Reviewed-on: https://gerrit.libreoffice.org/60766 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
-rw-r--r--comphelper/source/xml/xmltools.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}
}
}