| Summary: | Duplicated keywords in document properties form if save in DOCX format | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Alex Chernous <alexch82> |
| Component: | Writer | Assignee: | Andreas Heinisch <andreas.heinisch> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | noelgrandin |
| Priority: | medium | ||
| Version: | 7.2.0.0.beta1+ | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | target:7.3.0 | ||
| Crash report or crash signature: | Regression By: | ||
|
Description
Alex Chernous
2021-07-03 11:18:27 UTC
Confirmed in: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 0aea0cee58fe77a9058217dfdfc3d6a02b29ee2a CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-US Calc: CL Regression introduced by: use for-range on Sequence in i18npool..sd Change-Id: I19eba57bc6058c317473d0746f06699a09ba2830 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94608 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> in https://opengrok.libreoffice.org/xref/core/oox/source/core/xmlfilterbase.cxx?r=d50501d1#603 Previous line was: for( sal_Int32 i = 1, end = aItems.getLength(); i < end; ++i ) changed to for( const OUString& rItem : aItems ) which includes also the first item, hence duplicating it. Noel should I resolve the problem including an automated test, or do you want to fix it? @Andreas, you are welcome to fix it if you want to :-) Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/965639aec1407c25bed1716a1f2c3ee19923ec1a tdf#143175 - Join elements including a delimiter using a standard iterator It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |