diff options
author | Eike Rathke <erack@redhat.com> | 2017-06-14 23:30:57 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-06-14 23:31:28 +0200 |
commit | 1bc793f8ab8f9b4ce435bd3585f9579df4a11819 (patch) | |
tree | 23ff4589b3dfa8925d51c904325f9909929641e2 | |
parent | 82713b407f27d71a7acd6a88b59ce748a0fb925b (diff) |
This could never have been meant
Since commit 67b374980f340faa2695001984aaf98886a32fad
executing ScDocumentLoader::GetFilterName() twice if there was no stored
filter, and still executing it if there was one, even if the comment says we
shouldn't.
Change-Id: Iaf4b88e63b3987fb661df0e9b095f06b29076894
-rw-r--r-- | sc/source/ui/docshell/externalrefmgr.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx index 2d27e0034eaa..2fc25cfb3f46 100644 --- a/sc/source/ui/docshell/externalrefmgr.cxx +++ b/sc/source/ui/docshell/externalrefmgr.cxx @@ -2480,7 +2480,6 @@ SfxObjectShellRef ScExternalRefManager::loadSrcDocument(sal_uInt16 nFileId, OUSt rFilter = pFileData->maFilterName; // don't overwrite stored filter with guessed filter else ScDocumentLoader::GetFilterName(aFile, rFilter, aOptions, true, false); - ScDocumentLoader::GetFilterName(aFile, rFilter, aOptions, true, false); std::shared_ptr<const SfxFilter> pFilter = ScDocShell::Factory().GetFilterContainer()->GetFilter4FilterName(rFilter); if (pFileData->maRelativeName.isEmpty()) |