xmloff/source/forms/layerexport.cxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 325ec1c1060ba29b24eb1acbc5451bc972b484fc
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Sun Dec 3 19:48:34 2023 +0000
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Mon Dec 4 10:48:19 2023 +0100

    cid#1546476 COPY_INSTEAD_OF_MOVE
    
    Change-Id: Ic8133ebfb40c02eb95bdf95809aeca719f636acf
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160276
    Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/xmloff/source/forms/layerexport.cxx 
b/xmloff/source/forms/layerexport.cxx
index a75bceada634..dac9297679ae 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -561,10 +561,8 @@ namespace xmloff
 
                 // generate a new control id
 
-                // find a free id
-                OUString sCurrentId = lcl_findFreeControlId( m_aControlIds );
-                // add it to the map
-                m_aCurrentPageIds->second[ xColumnProperties ] = sCurrentId;
+                // find a free id and add it to the map
+                m_aCurrentPageIds->second[xColumnProperties] = 
lcl_findFreeControlId(m_aControlIds);
 
                 // determine a number style, if needed
                 xColumnPropertiesMeta = 
xColumnProperties->getPropertySetInfo();

Reply via email to