diff options
Diffstat (limited to 'sc/source/ui/dbgui/sortkeydlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/sortkeydlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/sortkeydlg.cxx b/sc/source/ui/dbgui/sortkeydlg.cxx index 944ff4220f09..18026e316389 100644 --- a/sc/source/ui/dbgui/sortkeydlg.cxx +++ b/sc/source/ui/dbgui/sortkeydlg.cxx @@ -90,8 +90,8 @@ void ScSortKeyWindow::AddSortKey( sal_uInt16 nItemNumber ) ScSortKeyItem* pSortKeyItem = new ScSortKeyItem(m_pBox); // Set Sort key number - String aLine = pSortKeyItem->m_pFlSort->GetText(); - aLine += OUString::number( nItemNumber ); + OUString aLine = pSortKeyItem->m_pFlSort->GetText() + + OUString::number( nItemNumber ); pSortKeyItem->m_pFlSort->SetText( aLine ); mrSortKeyItems.push_back(pSortKeyItem); |