diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-15 09:11:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-15 19:25:53 +0200 |
commit | 076fa17b5c04dc7afe593132c00ad9e57dd486f8 (patch) | |
tree | 7ea4be4a92337d196a57f9ec7dc32445351aba17 /l10ntools | |
parent | 4cc702a7055c0e12c7cbf5e5e359e7cbc8b88020 (diff) |
loplugin:buriedassign in l,o,p*
Change-Id: Ib2dd157d43c4387eda009475311761fe2eb627cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92241
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/merge.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index 60d88b927c1b..75afdf77b9a6 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -196,8 +196,10 @@ MergeDataFile::MergeDataFile( bSkipCurrentPOFile = true; break; } - } while( !aPoInput.eof() && - ( bInSameComp = PoEntry::IsInSameComp(aActPo, aNextPo) ) ); + if (aPoInput.eof()) + break; + bInSameComp = PoEntry::IsInSameComp(aActPo, aNextPo); + } while( bInSameComp ); InsertEntry( aActPo.getResourceType(), aActPo.getGroupId(), |