xmloff/source/forms/elementimport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit db69ae30592c1621d73d6c75718f692ef1ab1154
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Fri Dec 29 14:04:35 2023 +0100
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Fri Dec 29 17:21:11 2023 +0100

    Use emplace_back instead of push_back (xmloff)
    
    Change-Id: I9ef16abe07129d1ef8190cca5a094f0135f2a3de
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161405
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/xmloff/source/forms/elementimport.cxx 
b/xmloff/source/forms/elementimport.cxx
index d1d691d6519a..7b7609107560 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -2018,7 +2018,7 @@ namespace xmloff
                         "OFormImport::implTranslateStringListProperty: invalid 
quoted element name.");
                 sElement = sElement.substr(1, nElementLength - 2);
 
-                aElements.push_back(OUString(sElement));
+                aElements.emplace_back(sElement);
 
                 // switch to the next element
                 nElementStart = 1 + nNextSep;

Reply via email to