summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-09-19 08:16:42 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-09-19 14:12:37 +0200
commit8c7e64cd3854a912ef33b5a717a9f36856925c7c (patch)
tree3c7d9ea06390508e91a71860c693e04c3cd4cf3f /comphelper
parentd36ff576c875c79706511194e72bb38c435c49a2 (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>
Diffstat (limited to 'comphelper')
-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);
}
}
}