From cdd4c1558390efd8a3740ad8fc248248972d9250 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 15 Aug 2012 13:39:56 +0200 Subject: Convert aBuf in SdrUndoGroup class from Container to std::vector Change-Id: I0635ed333033ce37eb86b360fd0ee0d77b8dc47a --- svx/source/svdraw/svdundo.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svx/source') diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index b3fca80dfb3b..0a793f2436b4 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -103,7 +103,7 @@ XubString SdrUndoAction::GetSdrRepeatComment(SdrView& /*rView*/) const SdrUndoGroup::SdrUndoGroup(SdrModel& rNewMod) : SdrUndoAction(rNewMod), - aBuf(1024,32,32), + aBuf(), eFunction(SDRREPFUNC_OBJ_NONE) {} @@ -118,12 +118,12 @@ void SdrUndoGroup::Clear() SdrUndoAction* pAct=GetAction(nu); delete pAct; } - aBuf.Clear(); + aBuf.clear(); } void SdrUndoGroup::AddAction(SdrUndoAction* pAct) { - aBuf.Insert(pAct,CONTAINER_APPEND); + aBuf.push_back(pAct); } void SdrUndoGroup::Undo() -- cgit