include/sfx2/docfilt.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 53e68ff85062c39882e2ab086f51d2657d0b8444 Author: Justin Luth <[email protected]> AuthorDate: Sat Dec 6 07:01:40 2025 -0500 Commit: Justin Luth <[email protected]> CommitDate: Sat Dec 6 18:13:42 2025 +0100 tdf#156611 SC: hyperlink option for MS 2010 behaviour This was only working for (some) MS Office 2007 filters. Now this adds (some) more MS Office 2010 filters. Change-Id: I8b3f13c233209b032bc0c0e7d4238718ff774304 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195165 Tested-by: Jenkins Reviewed-by: Justin Luth <[email protected]> diff --git a/include/sfx2/docfilt.hxx b/include/sfx2/docfilt.hxx index 45dd0efb9b29..9a40ae25b8b9 100644 --- a/include/sfx2/docfilt.hxx +++ b/include/sfx2/docfilt.hxx @@ -80,7 +80,10 @@ public: bool GetSupportsSigning() const { return bool(nFormatType & SfxFilterFlags::SUPPORTSSIGNING); } bool GetGpgEncryption() const { return bool(nFormatType & SfxFilterFlags::GPGENCRYPTION); } bool IsOwnTemplateFormat() const { return bool(nFormatType & SfxFilterFlags::TEMPLATEPATH); } - bool IsMSOFormat() const { return aTypeName.startsWith("MS"); } + bool IsMSOFormat() const + { + return aTypeName.startsWith("MS") || aTypeName.startsWith("Office Open XML "); + } /// not our built-in format bool IsAlienFormat() const { return bool(nFormatType & SfxFilterFlags::ALIEN); } /// an unusual/legacy file to be loading
