diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-11 09:46:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-11 09:47:08 +0200 |
commit | 6a7de42a769a9543a6b6e929e87e63669c96c0b6 (patch) | |
tree | 994377eaf181b3c97ff1ee20dbf47cd15808fbf3 /include/comphelper/propertysequence.hxx | |
parent | 28564f96e88e7204a5d2119297d5865354942438 (diff) |
Properly init PropertyValue.Handle in InitPropertySequence
Change-Id: If00dc9330f0fd08057ac75510e1c2f3bb1e5b17c
Diffstat (limited to 'include/comphelper/propertysequence.hxx')
-rw-r--r-- | include/comphelper/propertysequence.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/comphelper/propertysequence.hxx b/include/comphelper/propertysequence.hxx index 7cd9494082c2..62f9588abac5 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; |