summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source')
-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 ) );