summaryrefslogtreecommitdiffstats
path: root/xmloff
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-10-01 08:20:59 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2013-10-01 08:20:59 +0200
commit57d8250a96596678a0d5a3f1698385691f92cda8 (patch)
treeeb3e6d5741de0f37cb5e895da6753bdee10cc93d /xmloff
parentmake sure that we really fall back to new compile if binary failed (diff)
downloadcore-57d8250a96596678a0d5a3f1698385691f92cda8.tar.gz
core-57d8250a96596678a0d5a3f1698385691f92cda8.zip
std::vector elements are default-initialized in constructor
Change-Id: I593c6c3236172f33b3e58fb44a41e079c3c8b0c4
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/impastpl.cxx6
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)
{