diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-03 19:48:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-04 10:48:19 +0100 |
commit | 325ec1c1060ba29b24eb1acbc5451bc972b484fc (patch) | |
tree | 17657965a240785766d945aaa282a254d2bc346f /xmloff | |
parent | de788d603dd763ed3c69a4e0fea98a571301c0ca (diff) |
cid#1546476 COPY_INSTEAD_OF_MOVE
Change-Id: Ic8133ebfb40c02eb95bdf95809aeca719f636acf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160276
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/layerexport.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
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(); |