diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-01 12:24:02 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-03 06:18:10 +0000 |
commit | 5157caf48ac28829afa141dbf8302b2e574a7a12 (patch) | |
tree | 278a2780373712088373c7bf69c0a5e1c673da8d /include/vcl/print.hxx | |
parent | dfad705d5f0c05cbebb4155d69212b35c58a22c0 (diff) |
Convert NupOrderType to scoped enum
Change-Id: If04deb1bc080679d1b71d155f7568ab89cb5888d
Reviewed-on: https://gerrit.libreoffice.org/25765
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.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index ff2f7b2ff3aa..4481b755bab7 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -391,17 +391,17 @@ namespace vcl { class ImplPrinterControllerData; +enum class NupOrderType +{ + LRTB, TBLR, TBRL, RLTB +}; + class VCL_DLLPUBLIC PrinterController { ImplPrinterControllerData* mpImplData; protected: PrinterController( const VclPtr<Printer>& ); public: - enum NupOrderType - { - LRTB, TBLR, TBRL, RLTB - }; - struct MultiPageSetup { // all metrics in 100th mm @@ -416,7 +416,7 @@ public: long nHorizontalSpacing; long nVerticalSpacing; bool bDrawBorder; - PrinterController::NupOrderType nOrder; + NupOrderType nOrder; MultiPageSetup() : nRows( 1 ), nColumns( 1 ), nRepeat( 1 ), aPaperSize( 21000, 29700 ) @@ -424,7 +424,7 @@ public: , nRightMargin( 0 ), nBottomMargin( 0 ) , nHorizontalSpacing( 0 ), nVerticalSpacing( 0 ) , bDrawBorder( false ) - , nOrder( LRTB ) {} + , nOrder( NupOrderType::LRTB ) {} }; struct PageSize |