summaryrefslogtreecommitdiff
path: root/sfx2/source/inc/workwin.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-04-12 17:06:07 +0200
committerMichael Stahl <mstahl@redhat.com>2013-04-16 19:18:24 +0000
commitf1c91970cba512452bb138c5af262b910068589e (patch)
treeed48dfc6f8b8abdfc9653e71f22715cb98a666ea /sfx2/source/inc/workwin.hxx
parentddc27e4d5496edd558d48747b8830d393550aa30 (diff)
Convert SfxChildList_Impl from SfxPtrArr to std::vector
and simplify use site Change-Id: I287c280e1206f72dfaff4f38c24c8997e726887a Reviewed-on: https://gerrit.libreoffice.org/3388 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sfx2/source/inc/workwin.hxx')
-rw-r--r--sfx2/source/inc/workwin.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx
index dfe6975c7dcd..f86c79f5f1c6 100644
--- a/sfx2/source/inc/workwin.hxx
+++ b/sfx2/source/inc/workwin.hxx
@@ -148,7 +148,7 @@ enum SfxDockingConfig
SFX_MOVEDOCKINGWINDOW
};
-DECL_PTRARRAY( SfxChildList_Impl, SfxChild_Impl*, 2, 2 )
+typedef std::vector<SfxChild_Impl*> SfxChildList_Impl;
DECL_PTRARRAY( SfxChildWindows_Impl, SfxChildWin_Impl*, 2, 2 )
@@ -226,7 +226,7 @@ protected:
Rectangle aUpperClientArea;
SfxWorkWindow* pParent;
SfxSplitWindow* pSplit[SFX_SPLITWINDOWS_MAX];
- SfxChildList_Impl* pChildren;
+ SfxChildList_Impl aChildren;
SfxChildWindows_Impl* pChildWins;
SfxBindings* pBindings;
Window* pWorkWin;