summaryrefslogtreecommitdiff
path: root/sfx2/inc/arrdecl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-06-14 11:05:49 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-20 19:46:39 +0200
commit59713265ece84a7775dfed209f4b42c53ec95a34 (patch)
treef5f8a27bf31bc0f4ff10dd6d3028b7244c02ab14 /sfx2/inc/arrdecl.hxx
parenteb1204ef4439f86d14b0d0bfd8a8983cc840d7d8 (diff)
Convert SV_DECL_PTRARR_DEL(SfxTbxCtrlFactArr_Impl) to std::vector
Change-Id: I2e80e17ed79e156bcfe379ddc5b11fd2cb2804d2
Diffstat (limited to 'sfx2/inc/arrdecl.hxx')
-rw-r--r--sfx2/inc/arrdecl.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sfx2/inc/arrdecl.hxx b/sfx2/inc/arrdecl.hxx
index 6e5160481edc..64633faabe0a 100644
--- a/sfx2/inc/arrdecl.hxx
+++ b/sfx2/inc/arrdecl.hxx
@@ -43,7 +43,12 @@ class SfxViewShell;
SV_DECL_PTRARR( SfxViewShellArr_Impl, SfxViewShell*, 4 )
struct SfxTbxCtrlFactory;
-SV_DECL_PTRARR_DEL( SfxTbxCtrlFactArr_Impl, SfxTbxCtrlFactory*, 8 )
+class SfxTbxCtrlFactArr_Impl : public std::vector<SfxTbxCtrlFactory*>
+{
+public:
+ // de-allocates child objects
+ ~SfxTbxCtrlFactArr_Impl();
+};
struct SfxStbCtrlFactory;
class SfxStbCtrlFactArr_Impl : public std::vector<SfxStbCtrlFactory*>