summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-17 10:41:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-17 14:53:22 +0000
commit60b3d8119cfe99dc0987178cdab0ff5dac8029bb (patch)
tree29e65df654199a092b83a137352014958058d3cd /sw/source/uibase/uiview
parent639f6dcb1fdc5b1c0a6d5804324f9ff36fd989be (diff)
third argument should be SfxFilterFlags
Change-Id: Id0a73ffbbddc7fd2b2190cc04f59769561f45dd0
Diffstat (limited to 'sw/source/uibase/uiview')
-rw-r--r--sw/source/uibase/uiview/view2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx
index 3bd1eeb94321..7aca2c1734e8 100644
--- a/sw/source/uibase/uiview/view2.cxx
+++ b/sw/source/uibase/uiview/view2.cxx
@@ -2132,7 +2132,7 @@ long SwView::InsertDoc( sal_uInt16 nSlotId, const OUString& rFileName, const OUS
pMed = new SfxMedium(rFileName, STREAM_READ, 0, 0 );
SfxFilterMatcher aMatcher( rFact.GetFilterContainer()->GetName() );
pMed->UseInteractionHandler( true );
- ErrCode nErr = aMatcher.GuessFilter( *pMed, &pFilter, sal_False );
+ ErrCode nErr = aMatcher.GuessFilter(*pMed, &pFilter, SFX_FILTER_VERSION_NONE);
if ( nErr )
DELETEZ(pMed);
else