diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-09-28 09:07:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-09-28 13:38:33 +0200 |
commit | 77d1affc868b137db0ba2c5db431fa99e6d1ad51 (patch) | |
tree | 15080c7dbc827a4db778c7fb925c5b08b029fec0 /cui/source | |
parent | e7b1f30159a25848a4ffa3ad6df024556d372bb5 (diff) |
cid#1545248 COPY_INSTEAD_OF_MOVE
Change-Id: I67cb6bbebeecb595f68b0a70c7416e6aaa56399f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157358
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optlingu.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index 1fda06663fa8..4246b607d2d0 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -1020,12 +1020,8 @@ bool SvxLinguTabPage::FillItemSet( SfxItemSet* rCoreSet ) if (LinguMgr::GetIgnoreAllList() == xDic) bChecked = true; xDic->setActive( bChecked ); - if (bChecked) - { - OUString aDicName( xDic->getName() ); - pActiveDic[ nActiveDics++ ] = aDicName; - } + pActiveDic[nActiveDics++] = xDic->getName(); } } } |