summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-08 15:07:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-09 10:13:58 +0000
commit76cf4c365643e18436c691e284527fccfe273c9a (patch)
treea6282733be1f6a16d8a9bdc02df296d42f0e2cc4 /include
parent-Werror,-Wunused-parameter (diff)
downloadcore-76cf4c365643e18436c691e284527fccfe273c9a.tar.gz
core-76cf4c365643e18436c691e284527fccfe273c9a.zip
convert PDFVersion to scoped enum
Change-Id: I9920f4c9783eb23a41d135e5eacd12805c1b9c2b Reviewed-on: https://gerrit.libreoffice.org/34060 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/pdfwriter.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx
index d75b4ac50910..c8cfdba4c9fd 100644
--- a/include/vcl/pdfwriter.hxx
+++ b/include/vcl/pdfwriter.hxx
@@ -104,7 +104,7 @@ public:
enum Orientation { Portrait, Landscape, Seascape, Inherit };
// in case the below enum is added PDF_1_6 PDF_1_7, please add them just after PDF_1_5
- enum 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
+ 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
// for the meaning of DestAreaType please look at PDF Reference Manual
// version 1.4 section 8.2.1, page 475
enum class DestAreaType { XYZ, FitRectangle };
@@ -638,7 +638,7 @@ The following structure describes the permissions used in PDF security
DefaultLinkAction( PDFWriter::URIAction ),
ConvertOOoTargetToPDFTarget( false ),
ForcePDFAction( false ),
- Version( PDFWriter::PDF_1_4 ),
+ Version( PDFWriter::PDFVersion::PDF_1_4 ),
Tagged( false ),
SubmitFormat( PDFWriter::FDF ),
AllowDuplicateFieldNames( false ),