summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-21 09:34:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-21 09:35:15 +0000
commit73f81f714c42f0c03290657cbf2116263d0cbc80 (patch)
tree961081d47fca4eac3b2881defcceda5844efbb1c /filter
parent01946cc7ae7f10e84a2c0eebeb44ee847e6d95b4 (diff)
ofz#922 support avoiding config
Change-Id: I133b3881ea0b21fdb972342e8107e28bbf1727dd
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 8d740fe83aba..bfefea1d16c7 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -29,6 +29,7 @@
#include <comphelper/classids.hxx>
#include <toolkit/helper/vclunohelper.hxx>
+#include <unotools/configmgr.hxx>
#include <unotools/streamwrap.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
@@ -6951,7 +6952,7 @@ css::uno::Reference < css::embed::XEmbeddedObject > SvxMSDffManager::CheckForCo
xStorage->Commit();
xStorage.clear();
OUString aType = SfxFilter::GetTypeFromStorage( rSrcStg );
- if ( aType.getLength() )
+ if (aType.getLength() && !utl::ConfigManager::IsAvoidConfig())
pFilter = aMatch.GetFilter4EA( aType );
}