diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-08-16 22:12:22 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-08-17 08:19:13 +0200 |
commit | 585482133b67d100c0480bfdd924035593985a97 (patch) | |
tree | 660279880242d094f7fb527f752a4e457b4e8ee4 | |
parent | da7040510d5be27ad7b90ffb0c962535f3375358 (diff) |
loplugin:cstylecast
Change-Id: I36ffe5952e4ca930ed51fa547611ce4c7a51e1d7
Reviewed-on: https://gerrit.libreoffice.org/59237
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | vcl/quartz/ctfonts.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index af7cb12970d8..869ece86732f 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -62,7 +62,7 @@ CoreTextStyle::CoreTextStyle(const PhysicalFontFace& rPFF, const FontSelectPatte // handle font stretching if any if( (rFSP.mnWidth != 0) && (rFSP.mnWidth != rFSP.mnHeight) ) { - mfFontStretch = (float)rFSP.mnWidth / rFSP.mnHeight; + mfFontStretch = float(rFSP.mnWidth) / rFSP.mnHeight; aMatrix = CGAffineTransformConcat(aMatrix, CGAffineTransformMakeScale(mfFontStretch, 1.0F)); } |