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:
Abhilash Singh 2016-07-22 11:48:45 +05:30 committed by jan iversen
parent 989e8bc0d7
commit ce95e39f8e

View File

@ -87,6 +87,10 @@ ToxTextGenerator::GetNumStringOfFirstNode( const SwTOXSortTabBase& rBase, bool b
sRet = pNd->GetNumString(bUsePrefix, nLevel);
}
if(sRet != "") {
sRet += " ";// Makes sure spacing is done only when there is outline numbering
}
return sRet;
}