diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-23 15:20:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-26 19:13:08 +0100 |
commit | b3505dd7adcfd4483c4af181c15eef31bf04a846 (patch) | |
tree | 5f7fa2e0685207a94dc1306240168720852f7f55 | |
parent | 37b3502b5c781007e701e78c3b361eba5ce8cfe0 (diff) |
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>
-rw-r--r-- | comphelper/source/misc/graphicmimetype.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/unusedenumconstants.readonly.results | 2 | ||||
-rw-r--r-- | include/vcl/salctype.hxx | 3 | ||||
-rw-r--r-- | vcl/source/filter/graphicfilter.cxx | 1 |
4 files changed, 1 insertions, 7 deletions
diff --git a/comphelper/source/misc/graphicmimetype.cxx b/comphelper/source/misc/graphicmimetype.cxx index 4c335f348173..8dd188767936 100644 --- a/comphelper/source/misc/graphicmimetype.cxx +++ b/comphelper/source/misc/graphicmimetype.cxx @@ -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: diff --git a/compilerplugins/clang/unusedenumconstants.readonly.results b/compilerplugins/clang/unusedenumconstants.readonly.results index 0c0bad002db6..96d5d1a5c68c 100644 --- a/compilerplugins/clang/unusedenumconstants.readonly.results +++ b/compilerplugins/clang/unusedenumconstants.readonly.results @@ -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 diff --git a/include/vcl/salctype.hxx b/include/vcl/salctype.hxx index 73b29b1e97d7..c5c2975b338f 100644 --- a/include/vcl/salctype.hxx +++ b/include/vcl/salctype.hxx @@ -37,8 +37,7 @@ enum class ConvertDataFormat TIF, WMF, EMF, - SVG, - PDF + SVG }; class SvStream; diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index efe986c71977..2f1c15df344d 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -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; |