sfx2/source/control/recentdocsview.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit f4b5b12fbe7eb0260119445ac39a28427fef3ee6 Author: Heiko Tietze <tietze.he...@gmail.com> AuthorDate: Tue Feb 25 14:16:22 2020 +0100 Commit: Heiko Tietze <heiko.tie...@documentfoundation.org> CommitDate: Wed Feb 26 10:18:24 2020 +0100 Resolves tdf#130742 - Flat ODF in start center Added fodt,fods,fopd,fodg to typeMatchesExtension Change-Id: Ife8139af87ecc5af8a5e98c9d9dd7830c3a3231a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89455 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx index d875c73dda17..e9120d355a01 100644 --- a/sfx2/source/control/recentdocsview.cxx +++ b/sfx2/source/control/recentdocsview.cxx @@ -148,21 +148,21 @@ bool RecentDocsView::typeMatchesExtension(ApplicationType type, const OUString & { bool bRet = false; - if (rExt == "odt" || rExt == "doc" || rExt == "docx" || + if (rExt == "odt" || rExt == "fodt" || rExt == "doc" || rExt == "docx" || rExt == "rtf" || rExt == "txt" || rExt == "odm" || rExt == "otm") { bRet = static_cast<bool>(type & ApplicationType::TYPE_WRITER); } - else if (rExt == "ods" || rExt == "xls" || rExt == "xlsx") + else if (rExt == "ods" || rExt == "fods" || rExt == "xls" || rExt == "xlsx") { bRet = static_cast<bool>(type & ApplicationType::TYPE_CALC); } - else if (rExt == "odp" || rExt == "pps" || rExt == "ppt" || + else if (rExt == "odp" || rExt == "fodp" || rExt == "pps" || rExt == "ppt" || rExt == "pptx") { bRet = static_cast<bool>(type & ApplicationType::TYPE_IMPRESS); } - else if (rExt == "odg") + else if (rExt == "odg" || rExt == "fodg") { bRet = static_cast<bool>(type & ApplicationType::TYPE_DRAW); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits