summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authornadith <nadmalinda@gmail.com>2016-07-14 23:35:45 +0530
committerNoel Grandin <noelgrandin@gmail.com>2016-07-15 08:38:00 +0000
commitbfe6c2dedbac4caa8a080a7a7b2d783ae5d5d813 (patch)
tree8c64bc07a3985d9e01258deb34419f09b06aa0df /UnoControls
parent1eb533a0456f508972b3af16b8b867672d09ac49 (diff)
tdf#100726: Improve readability of OUString concatenation a bit
Change-Id: I6c51b9004089721f199bc35b1e5c13df36847f02 Reviewed-on: https://gerrit.libreoffice.org/27227 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/controls/progressmonitor.cxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx
index 62446f5b0af7..635e0eab1353 100644
--- a/UnoControls/source/controls/progressmonitor.cxx
+++ b/UnoControls/source/controls/progressmonitor.cxx
@@ -743,8 +743,7 @@ void ProgressMonitor::impl_rebuildFixedText ()
// "\n" MUST BE at the end of line!!! => Else ... topic and his text are not in the same line!!!
for (IMPL_TextlistItem* pSearchItem : maTextlist_Top)
{
- aCollectString += pSearchItem->sTopic;
- aCollectString += "\n";
+ aCollectString += pSearchItem->sTopic + "\n";
}
m_xTopic_Top->setText ( aCollectString );
@@ -759,8 +758,7 @@ void ProgressMonitor::impl_rebuildFixedText ()
// "\n" MUST BE at the end of line!!! => Else ... topic and his text are not in the same line!!!
for (IMPL_TextlistItem* pSearchItem : maTextlist_Top)
{
- aCollectString += pSearchItem->sText;
- aCollectString += "\n";
+ aCollectString += pSearchItem->sText + "\n";
}
m_xText_Top->setText ( aCollectString );
@@ -777,8 +775,7 @@ void ProgressMonitor::impl_rebuildFixedText ()
// "\n" MUST BE at the end of line!!! => Else ... topic and his text are not in the same line!!!
for (IMPL_TextlistItem* pSearchItem : maTextlist_Bottom)
{
- aCollectString += pSearchItem->sTopic;
- aCollectString += "\n";
+ aCollectString += pSearchItem->sTopic + "\n";
}
m_xTopic_Bottom->setText ( aCollectString );
@@ -793,8 +790,7 @@ void ProgressMonitor::impl_rebuildFixedText ()
// "\n" MUST BE at the end of line!!! => Else ... topic and his text are not in the same line!!!
for (IMPL_TextlistItem* pSearchItem : maTextlist_Bottom)
{
- aCollectString += pSearchItem->sText;
- aCollectString += "\n";
+ aCollectString += pSearchItem->sText + "\n";
}
m_xText_Bottom->setText ( aCollectString );