diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2014-08-12 23:58:14 +0900 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-08-13 08:53:48 -0500 |
commit | a247b8257a904372fcc2330bd8820176d4a71ebd (patch) | |
tree | a5b0c4e19be964abdd7cf680d9d10bb52d2ede42 /sfx2/inc/arrdecl.hxx | |
parent | a8c503a69c467526ef80ec36b7916e7b931f9101 (diff) |
fdo#75757: remove inheritance to std::vector
... by replacing the following 3 classes with typedefs of std::vector:
SfxObjectShellArr_Impl / SfxViewFrameArr_Impl / SfxViewShellArr_Impl
and the following 4 with typedefs of boost::ptr_vector:
SfxChildWinFactArr_Impl / SfxMenuCtrlFactArr_Impl /
SfxStbCtrlFactArr_Impl / SfxTbxCtrlFactArr_Impl
Change-Id: I1754bd19ec418a3e7ba5c47fb6d8568e8fca9b29
Reviewed-on: https://gerrit.libreoffice.org/10891
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'sfx2/inc/arrdecl.hxx')
-rw-r--r-- | sfx2/inc/arrdecl.hxx | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/sfx2/inc/arrdecl.hxx b/sfx2/inc/arrdecl.hxx index 1ce03bc03e79..31cd3545546e 100644 --- a/sfx2/inc/arrdecl.hxx +++ b/sfx2/inc/arrdecl.hxx @@ -21,47 +21,6 @@ #include <vector> -class SfxObjectShell; -class SfxObjectShellArr_Impl : public std::vector<SfxObjectShell*> {}; - -class SfxViewFrame; -class SfxViewFrameArr_Impl : public std::vector<SfxViewFrame*> {}; - -class SfxViewShell; -class SfxViewShellArr_Impl : public std::vector<SfxViewShell*> {}; - -struct SfxTbxCtrlFactory; -class SfxTbxCtrlFactArr_Impl : public std::vector<SfxTbxCtrlFactory*> -{ -public: - // de-allocates child objects - ~SfxTbxCtrlFactArr_Impl(); -}; - -struct SfxStbCtrlFactory; -class SfxStbCtrlFactArr_Impl : public std::vector<SfxStbCtrlFactory*> -{ -public: - // de-allocates child objects - ~SfxStbCtrlFactArr_Impl(); -}; - -struct SfxMenuCtrlFactory; -class SfxMenuCtrlFactArr_Impl : public std::vector<SfxMenuCtrlFactory*> -{ -public: - // de-allocates child objects - ~SfxMenuCtrlFactArr_Impl(); -}; - -struct SfxChildWinFactory; -class SfxChildWinFactArr_Impl : public std::vector<SfxChildWinFactory*> -{ -public: - // de-allocates child objects - ~SfxChildWinFactArr_Impl(); -}; - class SfxModule; typedef ::std::vector<SfxModule*> SfxModuleArr_Impl; |