summaryrefslogtreecommitdiff
path: root/ucb/source/sorter/sortresult.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/sorter/sortresult.cxx')
-rw-r--r--ucb/source/sorter/sortresult.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx
index 4a4e5956e2d8..b32844368c38 100644
--- a/ucb/source/sorter/sortresult.cxx
+++ b/ucb/source/sorter/sortresult.cxx
@@ -1619,12 +1619,12 @@ void SortedResultSet::ResortModified( EventList* pList )
m_O2S[pData->mnCurPos] = nNewPos;
- std::unique_ptr<ListAction> pAction(new ListAction);
- pAction->Position = nCurPos;
- pAction->Count = 1;
- pAction->ListActionType = ListActionType::MOVED;
- pAction->ActionInfo <<= nNewPos-nCurPos;
- pList->Insert( std::move(pAction) );
+ ListAction aAction;
+ aAction.Position = nCurPos;
+ aAction.Count = 1;
+ aAction.ListActionType = ListActionType::MOVED;
+ aAction.ActionInfo <<= nNewPos-nCurPos;
+ pList->Insert( aAction );
}
pList->AddEvent( ListActionType::PROPERTIES_CHANGED, nNewPos );
}