diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-04-15 21:58:15 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-04-23 16:16:12 +0200 |
commit | 63e43c1db9d0d5c52916dc6d2d7cd1d3d9bcae76 (patch) | |
tree | 3d84c07924c76e76d41b5c0d39a074dcd6b5185d /sfx2 | |
parent | 11ef83aa64af7e366cd56856853a7b332a69d105 (diff) |
Drop Macromedia Flash export filter
Flash technology is going to be retired by the end of 2020 by Adobe:
https://theblog.adobe.com/adobe-flash-update/
With this ahead doesn't make much sense for LO 7.0 to support exporting
presentations and drawings to swf anymore.
Change-Id: Ic2c6e95db2f56bcd4eb25abdd0a6748aee9b0e4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92507
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/filtergrouping.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx index 938853bc81b1..85505f644266 100644 --- a/sfx2/source/dialog/filtergrouping.cxx +++ b/sfx2/source/dialog/filtergrouping.cxx @@ -967,7 +967,6 @@ namespace sfx2 sal_Int32 nHTMLIndex = -1; sal_Int32 nXHTMLIndex = -1; sal_Int32 nPDFIndex = -1; - sal_Int32 nFlashIndex = -1; OUString sUIName; OUString sExtensions; std::vector< ExportFilter > aImportantFilterGroup; @@ -1007,18 +1006,6 @@ namespace sfx2 aImportantFilterGroup.insert( aIter, aExportFilter ); nPDFIndex = 0; } - else if ( nFlashIndex == -1 && sTypeName == "graphic_SWF" ) - { - std::vector< ExportFilter >::iterator aIter = aImportantFilterGroup.begin(); - if ( nHTMLIndex != -1 ) - ++aIter; - if ( nXHTMLIndex != -1 ) - ++aIter; - if ( nPDFIndex != -1 ) - ++aIter; - aImportantFilterGroup.insert( aIter, aExportFilter ); - nFlashIndex = 0; - } else aFilterGroup.push_back( aExportFilter ); } |