diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-03 19:47:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-04 10:47:55 +0100 |
commit | de788d603dd763ed3c69a4e0fea98a571301c0ca (patch) | |
tree | 7ad4a4070dad9496357df8063f009b494bfd3664 /cui | |
parent | 7f713779949a2d971da3f1c327429cdd3cbe2a95 (diff) |
cid#1546483 COPY_INSTEAD_OF_MOVE
Change-Id: I41c2d42e64d25c7333f66b21bf294862bb04483a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160275
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/scriptdlg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index 2c2e40a8e708..890034317c2a 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -1030,8 +1030,7 @@ void SvxScriptOrgDialog::StoreCurrentSelection() aDescription = ";" + aDescription; } while (bEntry); - OUString sDesc( aDescription ); - m_lastSelection[ m_sLanguage ] = sDesc; + m_lastSelection[m_sLanguage] = aDescription; } void SvxScriptOrgDialog::RestorePreviousSelection() |