[Libreoffice-commits] core.git: xmloff/source
Matteo Casalin
matteo.casalin at yahoo.com
Mon Sep 30 23:59:26 PDT 2013
xmloff/source/style/impastpl.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit 57d8250a96596678a0d5a3f1698385691f92cda8
Author: Matteo Casalin <matteo.casalin at yahoo.com>
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)
{
More information about the Libreoffice-commits
mailing list