Description: If you create a toc and set a style for the tab before the pagenumber (the field '#'), then the pagenumber has this style also. It seems, that the size of the "string" is increment by one for the calculation of the styles to be set. If this is also a duplicate, I'm realy sorry. This time I searched with differnet wordings... I hope that helped. Steps to Reproduce: 1. Create one heading 1 2. Create toc and set a style for the tab before the pagenumber (e.g. betont (ger)) Actual Results: Now the pagenumber is also bold Expected Results: The pagenumber should have not the tab style. Reproducible: Always User Profile Reset: No Additional Info: If you set also a style for the pagenumber, then it works. The tab style only applies to the next char if the default should be used (but explicit selection of stylename "default" for the pagenumber does not work, too). If you type an textentry after the tab (like "O"), then it also works like expected. The char "O" has the default style. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Created attachment 132070 [details] Testdocument with TOC and style for tab
*** This bug has been marked as a duplicate of bug 38531 ***