diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-13 17:00:51 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-20 19:46:38 +0200 |
commit | 1eb38e26bf283beac219ea829f5aa757a50bfd4d (patch) | |
tree | 17c864f36d80b738a4142f37af85f0cbe6b1f960 /sfx2 | |
parent | 33f5324ff664c757405962d39043ffa2a720d280 (diff) |
Remove dead DECL_PTRARRAY(SfxFilterArr_Impl) declaration and member
Change-Id: I49cefb7e4b8df0f9b95b7a3ef2beaf2d8c0c98e7
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/arrdecl.hxx | 4 | ||||
-rw-r--r-- | sfx2/inc/sfx2/fcontnr.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/doc/docfac.cxx | 4 |
3 files changed, 1 insertions, 8 deletions
diff --git a/sfx2/inc/arrdecl.hxx b/sfx2/inc/arrdecl.hxx index 471bae6d576f..06daab4bbe85 100644 --- a/sfx2/inc/arrdecl.hxx +++ b/sfx2/inc/arrdecl.hxx @@ -56,12 +56,10 @@ SV_DECL_PTRARR_DEL( SfxChildWinFactArr_Impl, SfxChildWinFactory*, 2 ) class SfxModule; SV_DECL_PTRARR( SfxModuleArr_Impl, SfxModule*, 2 ) -class SfxFilter; -DECL_PTRARRAY( SfxFilterArr_Impl, SfxFilter*, 4, 4 ) - class SfxFrame; typedef ::std::vector<SfxFrame*> SfxFrameArr_Impl; +class SfxFilter; typedef ::std::vector< SfxFilter* > SfxFilterList_Impl; #endif diff --git a/sfx2/inc/sfx2/fcontnr.hxx b/sfx2/inc/sfx2/fcontnr.hxx index 875536a0ac62..ceaa4a1eeafa 100644 --- a/sfx2/inc/sfx2/fcontnr.hxx +++ b/sfx2/inc/sfx2/fcontnr.hxx @@ -46,7 +46,6 @@ class Window; class SfxFilter; -class SfxFilterArr_Impl; class SfxObjectFacArr_Impl; class SfxObjectFactory; class SfxMedium; diff --git a/sfx2/source/doc/docfac.cxx b/sfx2/source/doc/docfac.cxx index 674b7038439f..3d04c9750c1e 100644 --- a/sfx2/source/doc/docfac.cxx +++ b/sfx2/source/doc/docfac.cxx @@ -79,7 +79,6 @@ DBG_NAME(SfxObjectFactory) struct SfxObjectFactory_Impl { SfxViewFactoryArr_Impl aViewFactoryArr;// List of <SfxViewFactory>s - SfxFilterArr_Impl aFilterArr; // List of <SFxFilter>n ResId* pNameResId; ::rtl::OUString aServiceName; SfxFilterContainer* pFilterContainer; @@ -144,9 +143,6 @@ SfxObjectFactory::~SfxObjectFactory() { DBG_DTOR(SfxObjectFactory, 0); - const sal_uInt16 nCount = pImpl->aFilterArr.Count(); - for ( sal_uInt16 i = 0; i < nCount; ++i ) - delete pImpl->aFilterArr[i]; delete pImpl->pNameResId; delete pImpl->pFilterContainer; delete pImpl; |