Avoid some OUString concatenations
Change-Id: I73c5af00bee383de6e0c39932e91495632eb9dfb
This commit is contained in:
@@ -957,15 +957,12 @@ sal_uInt16 SwFldRefPage::GetGroup()
|
||||
|
||||
void SwFldRefPage::FillUserData()
|
||||
{
|
||||
OUString sData(USER_DATA_VERSION);
|
||||
sData += ";";
|
||||
sal_Int32 nTypeSel = m_pTypeLB->GetSelectEntryPos();
|
||||
if( LISTBOX_ENTRY_NOTFOUND == nTypeSel )
|
||||
nTypeSel = USHRT_MAX;
|
||||
else
|
||||
nTypeSel = sal::static_int_cast< sal_uInt16 >(reinterpret_cast< sal_uIntPtr >(m_pTypeLB->GetEntryData( nTypeSel )));
|
||||
sData += OUString::number( nTypeSel );
|
||||
SetUserData(sData);
|
||||
SetUserData( USER_DATA_VERSION ";" + OUString::number( nTypeSel ));
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
Reference in New Issue
Block a user