summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Francis <mjay.francis@gmail.com>2015-04-06 01:46:45 +0400
committerAndras Timar <andras.timar@collabora.com>2015-04-16 23:06:55 +0200
commit83d04b17e131663d6ecf4e6c631ada2ade463df8 (patch)
tree9f205a4a99da5eab99d1128ffb67d5af88dd719e
parent8f91f1bc16147a931469873b1a9f41ba9da1c73d (diff)
tdf#89630 Remove extra space added when assigning styles for TOC
Change-Id: I05deaf5360fb2d64419f2e47ed348edc9e3adefe Reviewed-on: https://gerrit.libreoffice.org/15165 Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
-rw-r--r--sw/source/ui/index/cnttab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index c0065b78f64a..a528f65324fe 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -3623,7 +3623,7 @@ IMPL_LINK_NOARG(SwTOXStylesTabPage, AssignHdl)
nTemplPos != LISTBOX_ENTRY_NOTFOUND)
{
const OUString aStr(m_pLevelLB->GetEntry(nLevPos).getToken(0, aDeliStart)
- + " " + OUString(aDeliStart)
+ + OUString(aDeliStart)
+ m_pParaLayLB->GetSelectEntry()
+ OUString(aDeliEnd));