summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/labelcfg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-05-23 14:15:24 +0200
committerMichael Stahl <mstahl@redhat.com>2012-05-25 00:17:07 +0200
commit3694f94b7457614e34d6ce039acdfa082071562b (patch)
tree01d3d814346fc869318bda50b03e8dcf365731cb /sw/source/ui/envelp/labelcfg.cxx
parent0437791557aa43285a67136f8eae5b9dfd1e363e (diff)
Convert SV_DECL_PTRARR_DEL(SwLabRecs) to std::vector
I can't use boost::ptr_vector here because the code removes entries from the list without free'ing them. Change-Id: I1640d0bb97443998c02148ed24bbd6ad0d390234
Diffstat (limited to 'sw/source/ui/envelp/labelcfg.cxx')
-rw-r--r--sw/source/ui/envelp/labelcfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/labelcfg.cxx b/sw/source/ui/envelp/labelcfg.cxx
index 3ee9fe382070..78f86a2ef19e 100644
--- a/sw/source/ui/envelp/labelcfg.cxx
+++ b/sw/source/ui/envelp/labelcfg.cxx
@@ -177,7 +177,7 @@ void SwLabelConfig::FillLabels(const OUString& rManufacturer, SwLabRecs& rLab
Sequence<OUString> aPropNames = lcl_CreatePropertyNames(sPrefix);
Sequence<Any> aValues = GetProperties(aPropNames);
SwLabRec* pNewRec = lcl_CreateSwLabRec(aValues, rManufacturer);
- rLabArr.C40_INSERT( SwLabRec, pNewRec, rLabArr.Count() );
+ rLabArr.push_back( pNewRec );
}
}