From 5665259f2d7d696ce5e0566e367c7cf8420fe04d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 7 Aug 2017 08:12:26 +0200 Subject: loplugin:unnecessaryparen Change-Id: I9496cafef840195e3934bf92600d4e8c8edb6c26 --- vcl/inc/osx/salprn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/inc') 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 -- cgit