diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-25 22:22:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-26 11:53:19 +0100 |
commit | 80b5041ea5fbc0ea37fc59edddb4bb7ae90fdc9c (patch) | |
tree | 50b84613114d19024c341f4e7b894527919d28fd | |
parent | f8163aba61c6c2037deb32c61e52a8c4bd38d07f (diff) |
cid#1545970 COPY_INSTEAD_OF_MOVE
Change-Id: Ifbec5f91dd11a495fcf01ad95fcdcc867e882f70
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161293
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r-- | basctl/source/basicide/localizationmgr.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/basicide/localizationmgr.cxx b/basctl/source/basicide/localizationmgr.cxx index 36e9f9818f7f..4d311741b4bb 100644 --- a/basctl/source/basicide/localizationmgr.cxx +++ b/basctl/source/basicide/localizationmgr.cxx @@ -434,8 +434,7 @@ sal_Int32 LocalizationMgr::implHandleControlResourceProperties xStringResourceManager->setStringForLocale( aPureIdStr, aPropStr, rLocale ); } - OUString aPropIdStr = aEsc + aPureIdStr; - pIdStrings[i] = aPropIdStr; + pIdStrings[i] = aEsc + aPureIdStr; } xPropertySet->setPropertyValue( aPropName, Any(aIdStrings) ); } |