summaryrefslogtreecommitdiff
path: root/sw/source/ui/index
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-03-26 21:55:30 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-03-30 16:37:43 +0200
commit4a387e155f9bf8f5796ee73231e304546ffe9730 (patch)
tree6b66db3720448c48081308ab942f69de61b99b5d /sw/source/ui/index
parent0ef07edc59dee3814e83765da468f44654f88ef5 (diff)
Remove one more OUString concatenated append
Change-Id: I7d4d000560c6774ffb691c47f951a191f9a92fa9
Diffstat (limited to 'sw/source/ui/index')
-rw-r--r--sw/source/ui/index/cnttab.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index c90a30213e26..b3041b8abb6e 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -3336,11 +3336,8 @@ sal_Bool SwTokenWindow::CreateQuickHelp(Control* pCtrl,
{
if (!rToken.sCharStyleName.isEmpty())
{
- if(bBalloon)
- sEntry += "\n";
- else
- sEntry += " ";
- sEntry += sCharStyle + rToken.sCharStyleName;
+ sEntry += OUString(bBalloon ? '\n' : ' ')
+ + sCharStyle + rToken.sCharStyleName;
}
}
if(bBalloon)