Kaydet (Commit) 6a7de42a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Properly init PropertyValue.Handle in InitPropertySequence

Change-Id: If00dc9330f0fd08057ac75510e1c2f3bb1e5b17c
üst 28564f96
...@@ -26,7 +26,9 @@ namespace comphelper ...@@ -26,7 +26,9 @@ namespace comphelper
for(const auto& aEntry : vInit) for(const auto& aEntry : vInit)
{ {
vResult[nCount].Name = aEntry.first; vResult[nCount].Name = aEntry.first;
vResult[nCount].Handle = -1;
vResult[nCount].Value = aEntry.second; vResult[nCount].Value = aEntry.second;
// State is default-initialized to DIRECT_VALUE
++nCount; ++nCount;
} }
return vResult; return vResult;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment