include/comphelper/propertysequence.hxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 6a7de42a769a9543a6b6e929e87e63669c96c0b6 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Aug 11 09:46:43 2015 +0200 Properly init PropertyValue.Handle in InitPropertySequence Change-Id: If00dc9330f0fd08057ac75510e1c2f3bb1e5b17c diff --git a/include/comphelper/propertysequence.hxx b/include/comphelper/propertysequence.hxx index 7cd9494..62f9588 100644 --- a/include/comphelper/propertysequence.hxx +++ b/include/comphelper/propertysequence.hxx @@ -26,7 +26,9 @@ namespace comphelper for(const auto& aEntry : vInit) { vResult[nCount].Name = aEntry.first; + vResult[nCount].Handle = -1; vResult[nCount].Value = aEntry.second; + // State is default-initialized to DIRECT_VALUE ++nCount; } return vResult; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits