summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorArnold Dumas <arnold@dumas.at>2016-02-14 00:59:35 +0100
committerNoel Grandin <noelgrandin@gmail.com>2016-02-15 07:38:21 +0000
commit53bf3ea58e0f4f9f4399a44bfc9ddecc71cb54c7 (patch)
tree4494dab5e2cdd2b56af5ad851866128315532f5e /cui
parentf48b789e1b985f65be2c15e508202ccf9ec05102 (diff)
tdf#57950: Replace chained O(U)StringBuffer::append() with operator+
Change-Id: Ic76cf0130ebec4cf723b83d82f59ae45bfcb3ea1 Reviewed-on: https://gerrit.libreoffice.org/22350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optjava.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 4bcdeabc3552..3f178acc6962 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -167,12 +167,11 @@ SvxJavaOptionsPage::SvxJavaOptionsPage( vcl::Window* pParent, const SfxItemSet&
m_pJavaList->SvSimpleTable::SetTabs( aStaticTabs );
- OUStringBuffer sHeader;
- sHeader.append("\t").append(get<FixedText>("vendor")->GetText())
- .append("\t").append(get<FixedText>("version")->GetText())
- .append("\t").append(get<FixedText>("features")->GetText())
- .append("\t");
- m_pJavaList->InsertHeaderEntry(sHeader.makeStringAndClear(), HEADERBAR_APPEND, HeaderBarItemBits::LEFT);
+ OUString sHeader ( "\t" + get<FixedText>("vendor")->GetText() +
+ "\t" + get<FixedText>("version")->GetText() +
+ "\t" + get<FixedText>("features")->GetText() +
+ "\t" );
+ m_pJavaList->InsertHeaderEntry(sHeader, HEADERBAR_APPEND, HeaderBarItemBits::LEFT);
m_pJavaList->setColSizes();
m_pJavaEnableCB->SetClickHdl( LINK( this, SvxJavaOptionsPage, EnableHdl_Impl ) );