diff options
author | Noel Grandin <noel@peralex.com> | 2013-04-12 16:24:02 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-04-16 19:07:22 +0000 |
commit | 3f153805b84e91dec3819a15ae04d2ba1a9721dc (patch) | |
tree | e9bf42bc5ccc8418fc05e61bb335828f48701871 /sfx2/inc | |
parent | a43dc5802eacca8451e65bf2229858cfe89408eb (diff) |
Convert SfxObjectUIArr_Impl from SfxPtrArr to std::vector
Also
- remove dead class definition SfxIFConfig_Impl, which was
using SfxObjectUIArr_Impl
- simplify declaration sites, we don't need to dynamically allocate
these arrays
Change-Id: I0f7110a324cc37f2eb2567cc066099ea4d86276c
Reviewed-on: https://gerrit.libreoffice.org/3359
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/sfx2/objface.hxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sfx2/inc/sfx2/objface.hxx b/sfx2/inc/sfx2/objface.hxx index 90315d0ad755..8e1f772e3791 100644 --- a/sfx2/inc/sfx2/objface.hxx +++ b/sfx2/inc/sfx2/objface.hxx @@ -32,14 +32,11 @@ struct SfxFormalArgument; struct SfxInterface_Impl; class SfxConfigItem; -class SfxIFConfig_Impl; -class SfxObjectUIArr_Impl ; class SfxModule; class SvStream; class SFX2_DLLPUBLIC SfxInterface { -friend class SfxIFConfig_Impl; friend class SfxSlotPool; const char* pName; // Sfx-internal name of interface @@ -123,20 +120,6 @@ inline SfxSlot* SfxInterface::operator[]( sal_uInt16 nPos ) const return nPos < nCount? pSlots+nPos: 0; } -class SfxIFConfig_Impl -{ -friend class SfxInterface; - sal_uInt16 nCount; - SfxObjectUIArr_Impl* pObjectBars; - -public: - SfxIFConfig_Impl(); - ~SfxIFConfig_Impl(); - sal_Bool Store(SvStream&); - void RegisterObjectBar( sal_uInt16, const ResId&, sal_uInt32 nFeature, const String* pST=0 ); - sal_uInt16 GetType(); -}; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |