diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2003-09-19 07:44:34 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2003-09-19 07:44:34 +0000 |
commit | fe3713938846eee66bdce11bcf6b3206e4b70fa5 (patch) | |
tree | 56110e7b802ad222ea7cea3a8a552640ac3221bc /sw/source/core/unocore/unocrsrhelper.cxx | |
parent | 977fb8f05eca1d0c27ae4647c170efcd6b92b256 (diff) |
INTEGRATION: CWS fwkq1 (1.11.82); FILE MERGED
2003/07/15 06:36:44 mba 1.11.82.1: #110843#: get rid of factories
Diffstat (limited to 'sw/source/core/unocore/unocrsrhelper.cxx')
-rw-r--r-- | sw/source/core/unocore/unocrsrhelper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unocrsrhelper.cxx b/sw/source/core/unocore/unocrsrhelper.cxx index 65497395fa0c..9c78462959de 100644 --- a/sw/source/core/unocore/unocrsrhelper.cxx +++ b/sw/source/core/unocore/unocrsrhelper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unocrsrhelper.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: vg $ $Date: 2003-04-17 14:42:10 $ + * last change: $Author: rt $ $Date: 2003-09-19 08:44:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -783,11 +783,11 @@ void InsertFile(SwUnoCrsr* pUnoCrsr, return; SfxObjectFactory& rFact = pDocSh->GetFactory(); - const SfxFilter* pFilter = rFact.GetFilterContainer()->GetFilter( rFilterName ); + const SfxFilter* pFilter = rFact.GetFilterContainer()->GetFilter4FilterName( rFilterName ); if ( !pFilter ) { pMed = new SfxMedium(rFileName, STREAM_READ, sal_True, 0, 0 ); - SfxFilterMatcher aMatcher( rFact.GetFilterContainer() ); + SfxFilterMatcher aMatcher( rFact.GetFilterContainer()->GetName() ); ErrCode nErr = aMatcher.GuessFilter( *pMed, &pFilter, sal_False ); if ( nErr || !pFilter) DELETEZ(pMed); |