summaryrefslogtreecommitdiff
path: root/svx/source/dialog/ctredlin.cxx
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-06-30 11:16:15 +0300
committerNoel Grandin <noelgrandin@gmail.com>2016-07-01 07:19:28 +0000
commit35de25aac00f9698c5df338bb6399384a71f6c1c (patch)
tree2687a74d6c8a0dc7386ad5f6637e8e566874cce0 /svx/source/dialog/ctredlin.cxx
parent1a13a9a46ae240966fa9152b35671384c07e7004 (diff)
Improve readability of OUString concatanation in SvxPixelCtlAccessible
, SvxShowCharSetVirtualAcc , SvxBmpMask , SvxSuperContourDlg , and SvxTPView It is more readable and more efficient as a bonus. See: https://goo.gl/jsVAwy: Change-Id: Id0641673e1e6fb04b3193c2b8e9a2ab3156b4552 Reviewed-on: https://gerrit.libreoffice.org/26794 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/dialog/ctredlin.cxx')
-rw-r--r--svx/source/dialog/ctredlin.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx
index d7538b1a3a67..677cc081497a 100644
--- a/svx/source/dialog/ctredlin.cxx
+++ b/svx/source/dialog/ctredlin.cxx
@@ -436,13 +436,13 @@ void SvxTPView::InsertWriterHeader()
m_pViewData->SetTabs(pTabs);
OUString aStrTab('\t');
- OUString aString(get<FixedText>("action")->GetText());
- aString += aStrTab;
- aString += get<FixedText>("author")->GetText();
- aString += aStrTab;
- aString += get<FixedText>("date")->GetText();
- aString += aStrTab;
- aString += get<FixedText>("comment")->GetText();
+ OUString aString = get<FixedText>("action")->GetText()
+ + aStrTab
+ + get<FixedText>("author")->GetText()
+ + aStrTab
+ + get<FixedText>("date")->GetText()
+ + aStrTab
+ + get<FixedText>("comment")->GetText();
m_pViewData->ClearHeader();
m_pViewData->InsertHeaderEntry(aString);
}
@@ -453,15 +453,15 @@ void SvxTPView::InsertCalcHeader()
m_pViewData->SetTabs(pTabs);
OUString aStrTab('\t');
- OUString aString(get<FixedText>("action")->GetText());
- aString += aStrTab;
- aString += get<FixedText>("position")->GetText();
- aString += aStrTab;
- aString += get<FixedText>("author")->GetText();
- aString += aStrTab;
- aString += get<FixedText>("date")->GetText();
- aString += aStrTab;
- aString += get<FixedText>("comment")->GetText();
+ OUString aString = get<FixedText>("action")->GetText()
+ + aStrTab
+ + get<FixedText>("position")->GetText()
+ + aStrTab
+ + get<FixedText>("author")->GetText()
+ + aStrTab
+ + get<FixedText>("date")->GetText()
+ + aStrTab
+ + get<FixedText>("comment")->GetText();
m_pViewData->ClearHeader();
m_pViewData->InsertHeaderEntry(aString);
}