diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-20 09:01:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-22 06:47:35 +0000 |
commit | 7299481834b15c920f996f4b0f3b5f821a82a10d (patch) | |
tree | 6cbc8a64399046dd2c83e4a4ef778c65ec00a34a /vcl/headless/svpprn.cxx | |
parent | e9c7d259e8ed3144d4226aef7c3de351e4706b79 (diff) |
loplugin:redundantcast find redundant c-style enum casts
Change-Id: I2dab376d87804521aed6b6bd41ad7762830fa349
Reviewed-on: https://gerrit.libreoffice.org/35467
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/headless/svpprn.cxx')
-rw-r--r-- | vcl/headless/svpprn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpprn.cxx b/vcl/headless/svpprn.cxx index 0db8fd8cfad4..dfef1239dc0f 100644 --- a/vcl/headless/svpprn.cxx +++ b/vcl/headless/svpprn.cxx @@ -60,7 +60,7 @@ inline int PtTo10Mu( int nPoints ) { return (int)((((double)nPoints)*35.27777778 static void copyJobDataToJobSetup( ImplJobSetup* pJobSetup, JobData& rData ) { - pJobSetup->SetOrientation( (Orientation)(rData.m_eOrientation == orientation::Landscape ? Orientation::Landscape : Orientation::Portrait) ); + pJobSetup->SetOrientation( rData.m_eOrientation == orientation::Landscape ? Orientation::Landscape : Orientation::Portrait ); // copy page size OUString aPaper; |