Technically the member function 'VCommandLine::OptTiledPageOrientation' can be

const.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-12-27 20:32:02 +02:00
parent 349863b033
commit dd452e66a8
2 changed files with 2 additions and 2 deletions

View File

@ -604,7 +604,7 @@ VAbstractLayoutDialog::PaperSizeTemplate VCommandLine::OptTiledPaperSize() const
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
PageOrientation VCommandLine::OptTiledPageOrientation() PageOrientation VCommandLine::OptTiledPageOrientation() const
{ {
return static_cast<PageOrientation>(not IsOptionSet(LONG_OPTION_TILED_PDF_LANDSCAPE)); return static_cast<PageOrientation>(not IsOptionSet(LONG_OPTION_TILED_PDF_LANDSCAPE));
} }

View File

@ -134,7 +134,7 @@ public:
QMarginsF TiledPageMargins() const; QMarginsF TiledPageMargins() const;
VAbstractLayoutDialog::PaperSizeTemplate OptTiledPaperSize() const; VAbstractLayoutDialog::PaperSizeTemplate OptTiledPaperSize() const;
PageOrientation OptTiledPageOrientation(); PageOrientation OptTiledPageOrientation() const;
protected: protected: