summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/inc/arrdecl.hxx4
-rw-r--r--sfx2/inc/sfx2/fcontnr.hxx1
-rw-r--r--sfx2/source/doc/docfac.cxx4
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;