tdf#44282 fix missing space for numbered lists in TOC
Change-Id: I6baa6c775ac6142e4ba4197ce4d164628ef0ba1e Reviewed-on: https://gerrit.libreoffice.org/27423 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
This commit is contained in:
parent
989e8bc0d7
commit
ce95e39f8e
@ -87,6 +87,10 @@ ToxTextGenerator::GetNumStringOfFirstNode( const SwTOXSortTabBase& rBase, bool b
|
|||||||
sRet = pNd->GetNumString(bUsePrefix, nLevel);
|
sRet = pNd->GetNumString(bUsePrefix, nLevel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(sRet != "") {
|
||||||
|
sRet += " ";// Makes sure spacing is done only when there is outline numbering
|
||||||
|
}
|
||||||
|
|
||||||
return sRet;
|
return sRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user