Kaydet (Commit) f1c91970 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Michael Stahl

Convert SfxChildList_Impl from SfxPtrArr to std::vector

and simplify use site

Change-Id: I287c280e1206f72dfaff4f38c24c8997e726887a
Reviewed-on: https://gerrit.libreoffice.org/3388Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst ddc27e4d
This diff is collapsed.
...@@ -148,7 +148,7 @@ enum SfxDockingConfig ...@@ -148,7 +148,7 @@ enum SfxDockingConfig
SFX_MOVEDOCKINGWINDOW 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 ) DECL_PTRARRAY( SfxChildWindows_Impl, SfxChildWin_Impl*, 2, 2 )
...@@ -226,7 +226,7 @@ protected: ...@@ -226,7 +226,7 @@ protected:
Rectangle aUpperClientArea; Rectangle aUpperClientArea;
SfxWorkWindow* pParent; SfxWorkWindow* pParent;
SfxSplitWindow* pSplit[SFX_SPLITWINDOWS_MAX]; SfxSplitWindow* pSplit[SFX_SPLITWINDOWS_MAX];
SfxChildList_Impl* pChildren; SfxChildList_Impl aChildren;
SfxChildWindows_Impl* pChildWins; SfxChildWindows_Impl* pChildWins;
SfxBindings* pBindings; SfxBindings* pBindings;
Window* pWorkWin; Window* pWorkWin;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment