diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-10-01 08:20:59 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-10-01 08:20:59 +0200 |
commit | 57d8250a96596678a0d5a3f1698385691f92cda8 (patch) | |
tree | eb3e6d5741de0f37cb5e895da6753bdee10cc93d | |
parent | e000b3fc7852b7879729694436170c01cb6b9fa8 (diff) |
std::vector elements are default-initialized in constructor
Change-Id: I593c6c3236172f33b3e58fb44a41e079c3c8b0c4
-rw-r--r-- | xmloff/source/style/impastpl.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx index e52e00df2db5..e67a354071c2 100644 --- a/xmloff/source/style/impastpl.cxx +++ b/xmloff/source/style/impastpl.cxx @@ -630,12 +630,6 @@ void SvXMLAutoStylePoolP_Impl::exportXML( // which contains a parent-name and a SvXMLAutoStylePoolProperties_Impl std::vector<AutoStylePoolExport> aExpStyles(nCount); - for( size_t i=0; i < nCount; i++ ) - { - aExpStyles[i].mpParent = 0; - aExpStyles[i].mpProperties = 0; - } - XMLAutoStyleFamily::ParentSetType::iterator it = rFamily.maParentSet.begin(), itEnd = rFamily.maParentSet.end(); for (; it != itEnd; ++it) { |