diff --git a/sw/source/core/tox/ToxTextGenerator.cxx b/sw/source/core/tox/ToxTextGenerator.cxx index cc181de41650..5c0514fec329 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; }