summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorSkyler Grey <skyler.grey@collabora.com>2024-10-01 09:17:49 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-10-09 16:39:06 +0200
commit243c3df55ceb0cafa6e28cf9656c26b67c88160d (patch)
treee282d66f28e814a16790efca069edb2a64f7e994 /desktop/source
parent37efd078024580d9f4a65f67c50b822fe558f452 (diff)
Back out "Drop Macromedia Flash export filter"
This backs out commit 63e43c1db9d0d5c52916dc6d2d7cd1d3d9bcae76. In an effort to support exporting to various legacy file formats, we want back SWF export. There are various changes over time from the original SWF support (e.g. changing TempFile to TempFileNamed) or the addition of an extra parameter to gb_Library_set_componentfile, however most of this is relatively straightforward... ...in my opinion it probably *should never* be cherry-picked into master, since as the original dropping of SWF in Ic2c6e95db2f56bcd4eb25abdd0a6748aee9b0e4c was decided on by ESC, so I think it would be "quite rude" to override that and backport it anyway. Therefore, I'm not going to backport it myself. If you would like this to be in master, please cherry-pick it yourself (although do feel free to ask me for review/testing/any other necessary help). Change-Id: I87f2756964a544d1a796b4046ca67b758cba90fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174596 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/lib/init.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 967264222b95..7d13a476a3f1 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -380,6 +380,7 @@ constexpr ExtensionMap aImpressExtensionMap[] =
{ "svg", u"impress_svg_Export"_ustr },
{ "xhtml", u"XHTML Impress File"_ustr },
{ "png", u"impress_png_Export"_ustr },
+ { "swf", u"impress_flash_Export"_ustr },
{ "bmp", u"impress_bmp_Export"_ustr },
{ "gif", u"impress_gif_Export"_ustr },
{ "tif", u"impress_tif_Export"_ustr },