Created attachment 113655 [details] screenshot Steps: 1) The TOC dialog 2) Goto styles tab 3) Select an entry and assign a paragraph style 4) A space will be added next to the level style every time a new paragraph style is assigned to the level This is a regression as 4.2.6 is fine. Version: 4.5.0.0.alpha0+ Build ID: 4cf69df2f543b023f4ec3d4279c5ac11a2a819d9 TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2015-02-21_03:46:34
Reproducible with LO 4.4.0.3, Win 8.1
Hey Andy, As you are confirming alot of my bugs (this isnt important for enhancements), it would be good for you to set their priority as well if possible. :D https://wiki.documentfoundation.org/QA/BugTriage#Step_7._Prioritize_Bug https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg
This crept in as a simple off-by-one error together with commit 367d3c9b53b94c727c4a818141c580b740c0ae56 Author: Matteo Casalin <matteo.casalin@yahoo.com> Date: Wed Mar 26 21:43:18 2014 +0100 Use getToken instead of indexOf and re-assignment Change-Id: If91343c2334f03cd35f95b79b8e341c6ee355f62
https://gerrit.libreoffice.org/15042
Matthew Francis committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=2caa097682e181fe1dfe19d1af1d798ab9af38eb tdf#89630 Remove extra space added when assigning styles for TOC It will be available in 4.5.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Thanks Matthew for the quick fix, i've pushed it in. Tried to cherry-picked it for 4.4 in gerrit but it wouldnt let me, so can you push the fix to 4.4.
(In reply to Jay Philips from comment #6) > Thanks Matthew for the quick fix, i've pushed it in. Tried to cherry-picked > it for 4.4 in gerrit but it wouldnt let me, so can you push the fix to 4.4. That’s because the original file has diverged between branches, you would have to cherry-pick the change’s dependencies as well to make it apply against that branch.
Committed it into 4.4 - https://gerrit.libreoffice.org/#/c/15165/
Matthew Francis committed a patch related to this issue. It has been pushed to "libreoffice-4-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=33a67ac2c5e6a60b5a99ebf6767f803277b79148&h=libreoffice-4-4 tdf#89630 Remove extra space added when assigning styles for TOC It will be available in 4.4.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Matthew Francis committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=83d04b17e131663d6ecf4e6c631ada2ade463df8 tdf#89630 Remove extra space added when assigning styles for TOC It will be available in 5.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Migrating Whiteboard tags to Keywords: (bibisected) [NinjaEdit]