summaryrefslogtreecommitdiff
path: root/include/vcl/print.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-31 14:18:10 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-01 06:46:46 +0000
commit76cacf1a6045b133ba07c84c67b34f85a389c81e (patch)
treef963270ddd3baf80e9a0e0482f7c103c61daa223 /include/vcl/print.hxx
parentb860b73f2ba3322663106eeb1de7e07af6959248 (diff)
Convert printer enums to scoped enums
Change-Id: Ic0f9d57181809b3fef3abbad462456fc2d5ced55 Reviewed-on: https://gerrit.libreoffice.org/25719 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/print.hxx')
-rw-r--r--include/vcl/print.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index fcb11bc9d115..ff2f7b2ff3aa 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -85,25 +85,25 @@ public:
};
-enum PrinterTransparencyMode
+enum class PrinterTransparencyMode
{
- PRINTER_TRANSPARENCY_AUTO = 0,
- PRINTER_TRANSPARENCY_NONE = 1
+ Auto = 0,
+ NONE = 1
};
-enum PrinterGradientMode
+enum class PrinterGradientMode
{
- PRINTER_GRADIENT_STRIPES = 0,
- PRINTER_GRADIENT_COLOR = 1
+ Stripes = 0,
+ Color = 1
};
-enum PrinterBitmapMode
+enum class PrinterBitmapMode
{
- PRINTER_BITMAP_OPTIMAL = 0,
- PRINTER_BITMAP_NORMAL = 1,
- PRINTER_BITMAP_RESOLUTION = 2
+ Optimal = 0,
+ Normal = 1,
+ Resolution = 2
};