extensions/source/propctrlr/eformspropertyhandler.cxx | 2 +- extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 5ed998cb2f6f7965f51c3d091048f83d454a5c5a Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Wed May 3 23:02:16 2023 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Thu May 4 09:01:12 2023 +0200 extensions: reserve the right nb of elements for vectors Change-Id: Ie89edc6be31f6c0349075a7ee190383814f57daf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151343 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Jenkins diff --git a/extensions/source/propctrlr/eformspropertyhandler.cxx b/extensions/source/propctrlr/eformspropertyhandler.cxx index c907e0b0c861..93643dcaa4a3 100644 --- a/extensions/source/propctrlr/eformspropertyhandler.cxx +++ b/extensions/source/propctrlr/eformspropertyhandler.cxx @@ -281,7 +281,7 @@ namespace pcr { if ( m_pHelper->canBindToAnyDataType() ) { - aProperties.reserve( 7 ); + aProperties.reserve( 8 ); addStringPropertyDescription( aProperties, PROPERTY_XML_DATA_MODEL ); addStringPropertyDescription( aProperties, PROPERTY_BINDING_NAME ); addStringPropertyDescription( aProperties, PROPERTY_BIND_EXPRESSION ); diff --git a/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx b/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx index 1f8351cdbcc5..7a3360423651 100644 --- a/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx +++ b/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx @@ -171,7 +171,7 @@ namespace pcr if ( bAllowBinding ) { - aProperties.reserve( 12 ); + aProperties.reserve( 28 ); addStringPropertyDescription( aProperties, PROPERTY_XSD_DATA_TYPE ); addInt16PropertyDescription ( aProperties, PROPERTY_XSD_WHITESPACES );