summaryrefslogtreecommitdiff
path: root/include/vcl/jobdata.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-31 14:04:55 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-01 06:47:32 +0000
commit79aaa464134970b15f6858f98cb9f8e37aced23c (patch)
treed528fda316cd6657b8f8973aa1dcbc277ccc22c0 /include/vcl/jobdata.hxx
parent76cacf1a6045b133ba07c84c67b34f85a389c81e (diff)
Convert orientation to scoped enum
Change-Id: If66319f51d8fa070b5575cc6e8eb6890d03768ff Reviewed-on: https://gerrit.libreoffice.org/25718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/jobdata.hxx')
-rw-r--r--include/vcl/jobdata.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/vcl/jobdata.hxx b/include/vcl/jobdata.hxx
index 13b34de93320..00a743f8966b 100644
--- a/include/vcl/jobdata.hxx
+++ b/include/vcl/jobdata.hxx
@@ -24,12 +24,10 @@
namespace psp {
-namespace orientation {
-enum type {
+enum class orientation {
Portrait,
Landscape
};
-}
struct VCL_DLLPUBLIC JobData
{
@@ -44,8 +42,8 @@ struct VCL_DLLPUBLIC JobData
int m_nPSLevel; // 0: no override, else languagelevel to use
int m_nColorDevice; // 0: no override, -1 grey scale, +1 color
int m_nPDFDevice; // 0: no override, -1 PostScript, +1: Automatically PDF, +2: Explicitly PDF
- orientation::type m_eOrientation;
- OUString m_aPrinterName;
+ orientation m_eOrientation;
+ OUString m_aPrinterName;
const PPDParser* m_pParser;
PPDContext m_aContext;