summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-08-15 14:41:01 +0200
committerMichael Stahl <mstahl@redhat.com>2012-08-16 18:44:05 +0200
commit32b2f88ad6e18ea061418a9092672f6ac8fcfb36 (patch)
tree61876be8a74ea853ce445ab0db7a80fd65f50204 /sd/source/ui/inc
parentc4984cbfafae189a4675e8619ba836f2ab2adb38 (diff)
Convert class SdUndoGroup from Container to std::vector
Change-Id: I303dd2f5ce5ac7f08727777ca03e4de0cfdabfcc
Diffstat (limited to 'sd/source/ui/inc')
-rw-r--r--sd/source/ui/inc/sdundogr.hxx6
1 files changed, 3 insertions, 3 deletions
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<SdUndoAction*> 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(); }
};