diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-08 15:13:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-10 06:04:53 +0000 |
commit | b3b2f2b95070f1a385c51f432a52b9c84470913f (patch) | |
tree | 7d44c43ccbc9bc921acb54876513658c71ce0fda /include | |
parent | 765ba08d0bfba45f3a33d4cf0a03b1499ab091d5 (diff) |
convert Orientation to scoped enum
and drop unused enumerators
Change-Id: I2f42f0f441cf9ce96338d40382acb6d75ea1e1a0
Reviewed-on: https://gerrit.libreoffice.org/34061
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/pdfwriter.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index c8cfdba4c9fd..c660f16bf58c 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -101,7 +101,7 @@ public: {} }; - enum Orientation { Portrait, Landscape, Seascape, Inherit }; + enum class Orientation { Portrait, Inherit }; // in case the below enum is added PDF_1_6 PDF_1_7, please add them just after PDF_1_5 enum class PDFVersion { PDF_1_2, PDF_1_3, PDF_1_4, PDF_1_5, PDF_A_1 };//i59651, PDF/A-1b & -1a, only -1b implemented for now @@ -685,7 +685,7 @@ The following structure describes the permissions used in PDF security Colors and other state information MUST be set again or are undefined. */ - void NewPage( sal_Int32 nPageWidth, sal_Int32 nPageHeight, Orientation eOrientation = Inherit ); + void NewPage( sal_Int32 nPageWidth, sal_Int32 nPageHeight, Orientation eOrientation = Orientation::Inherit ); /** Play a metafile like an outputdevice would do */ struct PlayMetafileContext |