INTEGRATION: CWS fwkpostbeta1 (1.6.28); FILE MERGED

2005/01/27 13:16:46 as 1.6.28.1: #i21583# detection for writer/web module should use in list of web filters ... of course
This commit is contained in:
Kurt Zenker
2005-03-21 10:18:32 +00:00
parent 1cd9c677d5
commit ada9b28d68

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: swdetect.cxx,v $
*
* $Revision: 1.6 $
* $Revision: 1.7 $
*
* last change: $Author: kz $ $Date: 2005-01-18 15:27:29 $
* last change: $Author: kz $ $Date: 2005-03-21 11:18:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -329,6 +329,8 @@ SwFilterDetect::~SwFilterDetect()
const SfxFilter* pFilter = aPreselectedFilterName.Len() ?
SfxFilterMatcher().GetFilter4FilterName( aPreselectedFilterName ) : aTypeName.Len() ?
SfxFilterMatcher(String::CreateFromAscii("swriter")).GetFilter4EA( aTypeName ) : 0;
if (!pFilter)
pFilter = SfxFilterMatcher(String::CreateFromAscii("sweb")).GetFilter4EA( aTypeName );
String aFilterName;
if ( pFilter )
{