summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 );