include/vcl/jobdata.hxx |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

New commits:
commit 79aaa464134970b15f6858f98cb9f8e37aced23c
Author: Noel Grandin <[email protected]>
Date:   Tue May 31 14:04:55 2016 +0200

    Convert orientation to scoped enum
    
    Change-Id: If66319f51d8fa070b5575cc6e8eb6890d03768ff
    Reviewed-on: https://gerrit.libreoffice.org/25718
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/include/vcl/jobdata.hxx b/include/vcl/jobdata.hxx
index 13b34de..00a743f 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;
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to