Kaydet (Commit) 58548213 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast

Change-Id: I36ffe5952e4ca930ed51fa547611ce4c7a51e1d7
Reviewed-on: https://gerrit.libreoffice.org/59237
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst da704051
...@@ -62,7 +62,7 @@ CoreTextStyle::CoreTextStyle(const PhysicalFontFace& rPFF, const FontSelectPatte ...@@ -62,7 +62,7 @@ CoreTextStyle::CoreTextStyle(const PhysicalFontFace& rPFF, const FontSelectPatte
// handle font stretching if any // handle font stretching if any
if( (rFSP.mnWidth != 0) && (rFSP.mnWidth != rFSP.mnHeight) ) 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)); aMatrix = CGAffineTransformConcat(aMatrix, CGAffineTransformMakeScale(mfFontStretch, 1.0F));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment