From 5e1719ff1ed5b4350684c3ed67b5375bb49e0223 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 13 Apr 2019 14:55:39 +0200 Subject: loplugin:sequentialassign in linguistic..lotuswordpro Change-Id: Ic561f56e1cfe06de219bd7a257186107b5c152fb Reviewed-on: https://gerrit.libreoffice.org/70706 Tested-by: Jenkins Reviewed-by: Noel Grandin --- linguistic/source/spelldta.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'linguistic/source/spelldta.cxx') diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx index b57a570b38d6..da7818d9acaf 100644 --- a/linguistic/source/spelldta.cxx +++ b/linguistic/source/spelldta.cxx @@ -125,8 +125,7 @@ void SeqRemoveNegEntries( std::vector< OUString > &rSeq, { std::vector< OUString > aNew; // merge sequence without duplicates and empty strings in new empty sequence - aNew = MergeProposalSeqs( aNew, rSeq ); - rSeq = aNew; + rSeq = MergeProposalSeqs( aNew, rSeq ); } } -- cgit