diff options
Diffstat (limited to 'vcl/inc/osx')
-rw-r--r-- | vcl/inc/osx/salprn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/osx/salprn.h b/vcl/inc/osx/salprn.h index 8e390bcaa33b..b82095c7559f 100644 --- a/vcl/inc/osx/salprn.h +++ b/vcl/inc/osx/salprn.h @@ -143,7 +143,7 @@ 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 static_cast<int>((nPoints*fPtTo100thMM)+0.5); } inline double TenMuToPt( double nUnits ) { return floor((nUnits/fPtTo100thMM)+0.5); } |