diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:12:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:12:26 +0200 |
commit | 5665259f2d7d696ce5e0566e367c7cf8420fe04d (patch) | |
tree | b799a6df188cacc9d11dfeedf30082c73237fd78 /vcl/inc | |
parent | 4535203c07559215a810f7252b3f250a7e7e1813 (diff) |
loplugin:unnecessaryparen
Change-Id: I9496cafef840195e3934bf92600d4e8c8edb6c26
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/osx/salprn.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/osx/salprn.h b/vcl/inc/osx/salprn.h index 78afec3b02fb..86e04bb548dd 100644 --- a/vcl/inc/osx/salprn.h +++ b/vcl/inc/osx/salprn.h @@ -145,9 +145,9 @@ class AquaSalPrinter : public SalPrinter const double fPtTo100thMM = 35.27777778; -inline int PtTo10Mu( double nPoints ) { return (int)(((nPoints)*fPtTo100thMM)+0.5); } +inline int PtTo10Mu( double nPoints ) { return (int)((nPoints*fPtTo100thMM)+0.5); } -inline double TenMuToPt( double nUnits ) { return floor(((nUnits)/fPtTo100thMM)+0.5); } +inline double TenMuToPt( double nUnits ) { return floor((nUnits/fPtTo100thMM)+0.5); } #endif // INCLUDED_VCL_INC_OSX_SALPRN_H |