summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-08 12:00:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-09 05:46:03 +0000
commitafc755fa61cfd9645c4ed2507bdc3a06b721ed5c (patch)
tree927b4fa1f1deaf22362c13e43d16fd716f29e630 /include
parentDon’t look for bundled fonts relative to executable path on Windows (diff)
downloadcore-afc755fa61cfd9645c4ed2507bdc3a06b721ed5c.tar.gz
core-afc755fa61cfd9645c4ed2507bdc3a06b721ed5c.zip
loplugin:unusedenumconstants read-only constants in vcl (2)
Change-Id: Ia3da23e0ef2fa710403745bd11255ed001516da4 Reviewed-on: https://gerrit.libreoffice.org/34020 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/bitmap.hxx15
-rw-r--r--include/vcl/commandevent.hxx1
-rw-r--r--include/vcl/gdimtf.hxx5
-rw-r--r--include/vcl/print.hxx6
4 files changed, 11 insertions, 16 deletions
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index 9f99467dbd5d..217a6f4f20a4 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -44,18 +44,15 @@ namespace o3tl
enum class BmpScaleFlag
{
- NONE = 0,
// Try to preferably use these.
Default = 1,
- Fast = 2,
- BestQuality = 3,
+ Fast,
+ BestQuality,
// Specific algorithms, use only if you really need to.
- Interpolate = 4,
- Super = 5,
- Lanczos = 6,
- BiCubic = 7,
- BiLinear = 8,
- Box = 9,
+ Interpolate,
+ Lanczos,
+ BiCubic,
+ BiLinear
};
diff --git a/include/vcl/commandevent.hxx b/include/vcl/commandevent.hxx
index 8d9496de97cb..d93cd3523d77 100644
--- a/include/vcl/commandevent.hxx
+++ b/include/vcl/commandevent.hxx
@@ -318,7 +318,6 @@ enum class CommandEventId
CursorPos = 11,
PasteSelection = 12,
ModKeyChange = 13,
- HangulHanjaConversion = 14,
InputLanguageChange = 15,
ShowDialog = 16,
Media = 17,
diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx
index d8b8d16e0e60..fed5eb7534fd 100644
--- a/include/vcl/gdimtf.hxx
+++ b/include/vcl/gdimtf.hxx
@@ -45,9 +45,8 @@ class Gradient;
enum class MtfConversion
{
- NONE = 0,
- N1BitThreshold = 1,
- N8BitGreys = 2
+ N1BitThreshold,
+ N8BitGreys
};
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index 77e3034bb1c9..24fd13bafa61 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -52,10 +52,10 @@ namespace vcl {
enum class PrinterSupport
{
- SetOrientation, SetPaperBin,
+ SetOrientation,
SetPaperSize, SetPaper,
- Copy, CollateCopy,
- SetupDialog, Fax, Pdf
+ CollateCopy,
+ SetupDialog
};