summaryrefslogtreecommitdiffstats
path: root/svtools
diff options
context:
space:
mode:
authorBryan Quigley <gquigs@gmail.com>2015-12-10 10:14:10 -0500
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-13 17:34:25 +0000
commita0537ec8038562152b07d11d51833c9488428f19 (patch)
treec0bf73d360a5a4a6f7fe98293c7cb847faef99c6 /svtools
parentPrefer fixed-width fonts as default Japanese ones for Writer (diff)
downloadcore-a0537ec8038562152b07d11d51833c9488428f19.tar.gz
core-a0537ec8038562152b07d11d51833c9488428f19.zip
tdf#92925 Remove MET (OS/2) export
MET Files were used with OS/2 and are not used anymore. I did test import which this patch did not remove. However, with MET files you can not export them as an image using "Save as image" (this patch didn't cause or fix that). You can still use the export of the whole document to convert the MET file. Change-Id: Ie818ef963db14166be354379d4b2991a3b72b645 Reviewed-on: https://gerrit.libreoffice.org/20622 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/filter/exportdialog.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx
index 227f83d47b84..a8654e6a702b 100644
--- a/svtools/source/filter/exportdialog.cxx
+++ b/svtools/source/filter/exportdialog.cxx
@@ -52,7 +52,6 @@
#define FORMAT_WMF 12
#define FORMAT_EMF 13
#define FORMAT_EPS 14
-#define FORMAT_MET 15
#define FORMAT_SVG 16
#define UNIT_DEFAULT -1
@@ -84,8 +83,6 @@ static sal_Int16 GetFilterFormat(const OUString& rExt)
nFormat = FORMAT_EMF;
else if ( rExt == "EPS" )
nFormat = FORMAT_EPS;
- else if ( rExt == "MET" )
- nFormat = FORMAT_MET;
else if ( rExt == "SVG" )
nFormat = FORMAT_SVG;
return nFormat;