remove unused enum value ConvertDataFormat::PDF

Change-Id: I61023dc049b914fee1d5d8918b99972d34a82b4a
Reviewed-on: https://gerrit.libreoffice.org/64042
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2018-11-23 15:20:54 +02:00
parent 37b3502b5c
commit b3505dd7ad
4 changed files with 1 additions and 7 deletions

View File

@@ -114,8 +114,6 @@ OUString GraphicMimeTypeHelper::GetMimeTypeForConvertDataFormat(ConvertDataForma
return OUString("image/x-emf");
case ConvertDataFormat::SVG:
return OUString("image/svg+xml");
case ConvertDataFormat::PDF:
return OUString("application/pdf");
case ConvertDataFormat::MET: // What is this?
case ConvertDataFormat::Unknown:
default:

View File

@@ -1068,8 +1068,6 @@ include/vcl/ptrstyle.hxx:78
enum PointerStyle CopyFiles
include/vcl/ptrstyle.hxx:92
enum PointerStyle Chart
include/vcl/salctype.hxx:41
enum ConvertDataFormat PDF
include/vcl/vclenum.hxx:37
enum MenuItemBits POPUPSELECT
include/vcl/vclenum.hxx:143

View File

@@ -37,8 +37,7 @@ enum class ConvertDataFormat
TIF,
WMF,
EMF,
SVG,
PDF
SVG
};
class SvStream;

View File

@@ -2497,7 +2497,6 @@ IMPL_LINK( GraphicFilter, FilterCallback, ConvertData&, rData, bool )
case ConvertDataFormat::WMF: aShortName = WMF_SHORTNAME; break;
case ConvertDataFormat::EMF: aShortName = EMF_SHORTNAME; break;
case ConvertDataFormat::SVG: aShortName = SVG_SHORTNAME; break;
case ConvertDataFormat::PDF: aShortName = PDF_SHORTNAME; break;
default:
break;