summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/propctrlr/formmetadata.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx
index 8a1622c44311..0c6a3a36f2ae 100644
--- a/extensions/source/propctrlr/formmetadata.cxx
+++ b/extensions/source/propctrlr/formmetadata.cxx
@@ -526,6 +526,7 @@ namespace pcr
std::vector< OUString > aReturn;
+ aReturn.reserve(nElements);
for (int i = 0; i < nElements; ++i)
{
aReturn.push_back(PcrRes(pStringItemsResId[i]));