xmloff/source/style/impastpl.cxx | 6 ------ 1 file changed, 6 deletions(-)
New commits: commit 57d8250a96596678a0d5a3f1698385691f92cda8 Author: Matteo Casalin <[email protected]> Date: Tue Oct 1 08:20:59 2013 +0200 std::vector elements are default-initialized in constructor Change-Id: I593c6c3236172f33b3e58fb44a41e079c3c8b0c4 diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx index e52e00d..e67a354 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) { _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
