Kaydet (Commit) d59d0731 authored tarafından David Tardon's avatar David Tardon

nDont = SFX_FILTER_NOTINSTALLED looks more reasonable

Change-Id: Ic23abcfe5cdec9c8f2442cf778b365ea42b8e553
üst 8c23a767
...@@ -88,11 +88,11 @@ static OUString impl_GetFilterFromExt( const OUString& aUrl, SfxFilterFlags nFla ...@@ -88,11 +88,11 @@ static OUString impl_GetFilterFromExt( const OUString& aUrl, SfxFilterFlags nFla
const SfxFilter *pSfxFilter = NULL; const SfxFilter *pSfxFilter = NULL;
if( nFlags == SFX_FILTER_EXPORT ) if( nFlags == SFX_FILTER_EXPORT )
{ {
SfxFilterMatcher( aAppl ).GuessFilterIgnoringContent( *pMedium, &pSfxFilter, nFlags, 0 ); SfxFilterMatcher( aAppl ).GuessFilterIgnoringContent( *pMedium, &pSfxFilter, nFlags );
} }
else else
{ {
SfxGetpApp()->GetFilterMatcher().GuessFilter( *pMedium, &pSfxFilter, nFlags, 0 ); SfxGetpApp()->GetFilterMatcher().GuessFilter( *pMedium, &pSfxFilter, nFlags );
} }
if( pSfxFilter ) if( pSfxFilter )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment