From 32b2f88ad6e18ea061418a9092672f6ac8fcfb36 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 15 Aug 2012 14:41:01 +0200 Subject: Convert class SdUndoGroup from Container to std::vector Change-Id: I303dd2f5ce5ac7f08727777ca03e4de0cfdabfcc --- sd/source/ui/inc/sdundogr.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sd/source/ui/inc') diff --git a/sd/source/ui/inc/sdundogr.hxx b/sd/source/ui/inc/sdundogr.hxx index 43866013f91e..e12d433580d6 100644 --- a/sd/source/ui/inc/sdundogr.hxx +++ b/sd/source/ui/inc/sdundogr.hxx @@ -26,12 +26,12 @@ class SD_DLLPUBLIC SdUndoGroup : public SdUndoAction { - Container aCtn; + std::vector aCtn; public: TYPEINFO(); SdUndoGroup(SdDrawDocument* pSdDrawDocument) : SdUndoAction(pSdDrawDocument), - aCtn(16, 16, 16) {} + aCtn() {} virtual ~SdUndoGroup(); virtual sal_Bool Merge( SfxUndoAction* pNextAction ); @@ -40,7 +40,7 @@ public: virtual void Redo(); void AddAction(SdUndoAction* pAction); - sal_uLong Count() const { return aCtn.Count(); } + sal_uLong Count() const { return aCtn.size(); } }; -- cgit