Kaydet (Commit) 989a4ab7 authored tarafından Matteo Casalin's avatar Matteo Casalin

OUString: use optimized concatenation

Change-Id: Ibaaa29568fe46148baa47422853ef2e627f4045b
üst 20d50d13
......@@ -79,30 +79,15 @@ CopyDlg::~CopyDlg()
void CopyDlg::dispose()
{
OUString& rStr = GetExtraData();
rStr = OUString::number(m_pNumFldCopies->GetValue());
rStr += OUString(TOKEN);
rStr += OUString::number(m_pMtrFldMoveX->GetValue());
rStr += OUString( TOKEN );
rStr += OUString::number(m_pMtrFldMoveY->GetValue());
rStr += OUString( TOKEN );
rStr += OUString::number(m_pMtrFldAngle->GetValue());
rStr += OUString( TOKEN );
rStr += OUString::number(m_pMtrFldWidth->GetValue());
rStr += OUString( TOKEN );
rStr += OUString::number(m_pMtrFldHeight->GetValue());
rStr += OUString( TOKEN );
rStr += OUString::number( sal_uInt32(m_pLbStartColor->GetSelectEntryColor()) );
rStr += OUString( TOKEN );
rStr += OUString::number( sal_uInt32(m_pLbEndColor->GetSelectEntryColor()) );
GetExtraData() =
OUString::number(m_pNumFldCopies->GetValue()) + OUString(TOKEN) +
OUString::number(m_pMtrFldMoveX->GetValue()) + OUString(TOKEN) +
OUString::number(m_pMtrFldMoveY->GetValue()) + OUString(TOKEN) +
OUString::number(m_pMtrFldAngle->GetValue()) + OUString(TOKEN) +
OUString::number(m_pMtrFldWidth->GetValue()) + OUString(TOKEN) +
OUString::number(m_pMtrFldHeight->GetValue()) + OUString(TOKEN) +
OUString::number(static_cast<sal_uInt32>(m_pLbStartColor->GetSelectEntryColor())) + OUString(TOKEN) +
OUString::number(static_cast<sal_uInt32>(m_pLbEndColor->GetSelectEntryColor()));
m_pNumFldCopies.clear();
m_pBtnSetViewData.clear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment