diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 14:55:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 21:14:21 +0200 |
commit | 5e1719ff1ed5b4350684c3ed67b5375bb49e0223 (patch) | |
tree | 575fabb7266dcb1d94dfd260b765570e6c934529 /linguistic/source/thesdsp.cxx | |
parent | da95fc2983e9deea30b9b7148a6e10b5423ed3e1 (diff) |
loplugin:sequentialassign in linguistic..lotuswordpro
Change-Id: Ic561f56e1cfe06de219bd7a257186107b5c152fb
Reviewed-on: https://gerrit.libreoffice.org/70706
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'linguistic/source/thesdsp.cxx')
-rw-r--r-- | linguistic/source/thesdsp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linguistic/source/thesdsp.cxx b/linguistic/source/thesdsp.cxx index 3fdfe5c73da1..77522e0f77cd 100644 --- a/linguistic/source/thesdsp.cxx +++ b/linguistic/source/thesdsp.cxx @@ -122,8 +122,7 @@ Sequence< Reference< XMeaning > > SAL_CALL if (pEntry) { - OUString aChkWord( rTerm ); - aChkWord = aChkWord.replace( SVT_HARD_SPACE, ' ' ); + OUString aChkWord = rTerm.replace( SVT_HARD_SPACE, ' ' ); RemoveHyphens( aChkWord ); if (IsIgnoreControlChars( rProperties, GetPropSet() )) RemoveControlChars( aChkWord ); |