[Libreoffice-commits] core.git: sw/source
Abhilash Singh
abhilash300singh at gmail.com
Tue Aug 16 06:26:27 UTC 2016
sw/source/core/tox/ToxTextGenerator.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit ce95e39f8e952159844e9dc04a1df402bb103634
Author: Abhilash Singh <abhilash300singh at gmail.com>
Date: Fri Jul 22 11:48:45 2016 +0530
tdf#44282 fix missing space for numbered lists in TOC
Change-Id: I6baa6c775ac6142e4ba4197ce4d164628ef0ba1e
Reviewed-on: https://gerrit.libreoffice.org/27423
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: jan iversen <jani at documentfoundation.org>
diff --git a/sw/source/core/tox/ToxTextGenerator.cxx b/sw/source/core/tox/ToxTextGenerator.cxx
index cc181de..5c0514f 100644
--- a/sw/source/core/tox/ToxTextGenerator.cxx
+++ b/sw/source/core/tox/ToxTextGenerator.cxx
@@ -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;
}
More information about the Libreoffice-commits
mailing list