sfx2/source/appl/appopen.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c74f7696301127ea3bf5fc66bebff51f1f6a9264
Author:     Justin Luth <[email protected]>
AuthorDate: Wed Dec 10 16:40:39 2025 -0500
Commit:     Miklos Vajna <[email protected]>
CommitDate: Fri Dec 12 14:14:00 2025 +0100

    tdf#165180 'Calc Office Open XML' is also an Excel variant
    
    This was introduced with
    commit 4de186f43456baf1de162aefa5f76d76e0817e5e
    Author: Kohei Yoshida on Thu Sep 16 10:37:52 2010
        calc-jump-on-formula-ref-sfx2.diff: Migrated
    
    There are no clear instructions or unit tests
    to know exactly how to test this,
    but it seems clear enough that it should continue to work
    when loaded with an Excel 2010 filter.
    
    Change-Id: I550ee20b9bac4ce0dac596b600647665598d1246
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195411
    Reviewed-by: Justin Luth <[email protected]>
    Tested-by: Jenkins
    (cherry picked from commit 38b403a82403b333c3c0d53c2bb8adc3afc37f3b)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195461
    Reviewed-by: Miklos Vajna <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 0eb93a09571f..6e67f2eaa880 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -575,7 +575,7 @@ bool lcl_isFilterNativelySupported(const SfxFilter& rFilter)
 
     const OUString& aName = rFilter.GetFilterName();
     // We can handle all Excel variants natively.
-    return aName.startsWith("MS Excel");
+    return aName.startsWith("MS Excel") || aName.startsWith("Calc Office Open 
XML");
 }
 
 }

Reply via email to