INTEGRATION: CWS tl37 (1.70.76); FILE MERGED
2007/06/04 18:21:37 tl 1.70.76.2: RESYNC: (1.70-1.72); FILE MERGED 2007/02/06 09:57:31 tl 1.70.76.1: #i73992# SfxFilterMatcher::GuessFilter fixed
This commit is contained in:
parent
7518958d3f
commit
18babc1266
1 changed files with 3 additions and 2 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: view2.cxx,v $
|
||||
*
|
||||
* $Revision: 1.74 $
|
||||
* $Revision: 1.75 $
|
||||
*
|
||||
* last change: $Author: ihi $ $Date: 2007-06-06 11:07:13 $
|
||||
* last change: $Author: hr $ $Date: 2007-06-27 12:50:38 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -1969,6 +1969,7 @@ long SwView::InsertDoc( USHORT nSlotId, const String& rFileName, const String& r
|
|||
{
|
||||
pMed = new SfxMedium(rFileName, STREAM_READ, TRUE, 0, 0 );
|
||||
SfxFilterMatcher aMatcher( rFact.GetFilterContainer()->GetName() );
|
||||
pMed->UseInteractionHandler( TRUE );
|
||||
ErrCode nErr = aMatcher.GuessFilter( *pMed, &pFilter, FALSE );
|
||||
if ( nErr )
|
||||
DELETEZ(pMed);
|
||||
|
|
Loading…
Reference in a new issue