Kaydet (Commit) d09b943f authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz: survive missing config

Change-Id: I011b6e3259f1567ddbacb22e19b06f7ae5aa63ed
üst 104aa891
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <sfx2/linkmgr.hxx> #include <sfx2/linkmgr.hxx>
#include <tools/urlobj.hxx> #include <tools/urlobj.hxx>
#include <unotools/transliterationwrapper.hxx> #include <unotools/transliterationwrapper.hxx>
#include <unotools/configmgr.hxx>
#include "tablink.hxx" #include "tablink.hxx"
...@@ -454,7 +455,7 @@ bool ScDocumentLoader::GetFilterName( const OUString& rFileName, ...@@ -454,7 +455,7 @@ bool ScDocumentLoader::GetFilterName( const OUString& rFileName,
std::shared_ptr<const SfxFilter> pSfxFilter; std::shared_ptr<const SfxFilter> pSfxFilter;
auto pMedium = o3tl::make_unique<SfxMedium>( rFileName, StreamMode::STD_READ ); auto pMedium = o3tl::make_unique<SfxMedium>( rFileName, StreamMode::STD_READ );
if ( pMedium->GetError() == ERRCODE_NONE ) if (pMedium->GetError() == ERRCODE_NONE && !utl::ConfigManager::IsAvoidConfig())
{ {
if ( bWithInteraction ) if ( bWithInteraction )
pMedium->UseInteractionHandler(true); // #i73992# no longer called from GuessFilter pMedium->UseInteractionHandler(true); // #i73992# no longer called from GuessFilter
......
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