summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-03-19 08:17:09 +0000
committerMathias Bauer <mba@openoffice.org>2001-03-19 08:17:09 +0000
commit711380281d8e7b386a710ff1593cd5caa0fa13ae (patch)
tree849058f86af17b4326eff84c98375ce2e8708380 /sfx2
parente0e6bb703b1d08b30ea66e932b95f1dc88551122 (diff)
Cleanup: removed filtercontainer for office documents
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appinit.cxx38
1 files changed, 2 insertions, 36 deletions
diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx
index cff5568ebdc7..ff8ca446554e 100644
--- a/sfx2/source/appl/appinit.cxx
+++ b/sfx2/source/appl/appinit.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appinit.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: dv $ $Date: 2001-02-21 15:50:17 $
+ * last change: $Author: mba $ $Date: 2001-03-19 09:17:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -362,40 +362,6 @@ FASTBOOL SfxApplication::Initialize_Impl()
SfxEventConfiguration::RegisterEvent(SFX_EVENT_ONERROR, String(SfxResId(STR_EVENT_ONERROR)), aEventNames.GetString( 13 ) );
SfxEventConfiguration::RegisterEvent(SFX_EVENT_NEWMESSAGE, String(SfxResId(STR_EVENT_NEWMESSAGE)), aEventNames.GetString( 14 ) );
- SfxFilterMatcher& rMatcher = GetFilterMatcher();
-/*
- // Filtercontainer fuer ::com::sun::star::sdbcx::User Overrides registrieren
- SfxFilterContainer* pDefaults = new SfxFilterContainer( DEFINE_CONST_UNICODE(SFX_FCONTNR_REDIRECTS) );
- rMatcher.AddContainer( pDefaults );
- pDefaults->LoadFilters(
- DEFINE_CONST_UNICODE(SFX_FCONTNR_REDIRECTS), sal_False,
- SFX_FILTER_REDIRECT | SFX_FILTER_IMPORT | SFX_FILTER_ALIEN |
- SFX_FILTER_NOTINFILEDLG | SFX_FILTER_NOTINCHOOSER );
- */
-#if SUPD<613//MUSTINI
- if( _nFeatures & SFX_FEATURE_SCALC &&
- _nFeatures & SFX_FEATURE_SIMPRESS &&
- _nFeatures & SFX_FEATURE_SDRAW &&
- _nFeatures & SFX_FEATURE_SIMAGE &&
- _nFeatures & SFX_FEATURE_SCHART &&
- _nFeatures & SFX_FEATURE_SMATH &&
- _nFeatures & SFX_FEATURE_SWRITER )
-#else
- if( _nFeatures & FEATUREFLAG_CALC &&
- _nFeatures & FEATUREFLAG_IMPRESS &&
- _nFeatures & FEATUREFLAG_DRAW &&
- _nFeatures & FEATUREFLAG_CHART &&
- _nFeatures & FEATUREFLAG_MATH &&
- _nFeatures & FEATUREFLAG_WRITER )
-#endif
- {
- // Office Filter registrieren
- SfxFilterContainer* pContainer =
- new SfxFilterContainer( DEFINE_CONST_UNICODE("soffice4") );
- pContainer->AddFilter( new SfxOfficeFilter( pContainer ), 0 );
- rMatcher.AddContainer( pContainer );
- }
-
// Subklasse initialisieren
bDowning = sal_False;
bInInit = sal_True;