diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2020-04-16 12:56:12 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-04-17 17:36:17 +0200 |
commit | 9152aed7804b65f6241cf35d85afcb50486a27ef (patch) | |
tree | 8f2791faf6aac98ca02fd6516dcac58037dc9a9a /sfx2 | |
parent | 92f6f9ec785f1009e2c94082a751696c74eaf236 (diff) |
Move Word compat option where it belongs
Change-Id: I6b28c6782f22190b7b22b11361c200d68d672aea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92347
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index 81f9f9ce4573..86764e760ebe 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -1058,12 +1058,6 @@ void SfxObjectShell::InitOwnModel_Impl() void SfxObjectShell::FinishedLoading( SfxLoadedFlags nFlags ) { - std::shared_ptr<const SfxFilter> pFlt = pMedium->GetFilter(); - if( pFlt ) - { - SetFormatSpecificCompatibilityOptions( pFlt->GetTypeName() ); - } - bool bSetModifiedTRUE = false; const SfxStringItem* pSalvageItem = SfxItemSet::GetItem<SfxStringItem>(pMedium->GetItemSet(), SID_DOC_SALVAGE, false); if( ( nFlags & SfxLoadedFlags::MAINDOCUMENT ) && !(pImpl->nLoadedFlags & SfxLoadedFlags::MAINDOCUMENT ) |