Kaydet (Commit) dc8ebf20 authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Miklos Vajna

tdf#104315: Revert "tdf#44282 fix missing space...

... for numbered lists in TOC"

This commit is causing lot of regressions in TOC.
Besides, as the comment says, it's an ugly hack,
so I'd prefer to revert it and find a better solution

This reverts commit 250252d0.

Change-Id: I9f57d1cb0f7237372030c12651ba92fbe5a60945
Reviewed-on: https://gerrit.libreoffice.org/34293Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 54c0b997
...@@ -215,10 +215,7 @@ ToxTextGenerator::GenerateText(SwDoc* pDoc, const std::vector<SwTOXSortTabBase*> ...@@ -215,10 +215,7 @@ ToxTextGenerator::GenerateText(SwDoc* pDoc, const std::vector<SwTOXSortTabBase*>
} }
case TOKEN_TEXT: case TOKEN_TEXT:
{ rText += aToken.sText;
if(rText.getLength() > 0) rText = rText.copy(0, rText.getLength() - 1); //Ugly hack to remove default spacing when user specifies <E#>
rText += aToken.sText;
}
break; break;
case TOKEN_PAGE_NUMS: case TOKEN_PAGE_NUMS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment