Kaydet (Commit) a83dee13 authored tarafından Caolán McNamara's avatar Caolán McNamara

only need FontSelectPatternAttributes here

Change-Id: I101ebf470e3635815a445ef761afc62e9d4c70f0
Reviewed-on: https://gerrit.libreoffice.org/59383
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 5932aa91
......@@ -325,7 +325,7 @@ WinFontInstance::~WinFontInstance()
bool WinFontInstance::hasHScale() const
{
const FontSelectPattern &rPattern = GetFontSelectPattern();
const FontSelectPatternAttributes &rPattern = GetFontSelectPattern();
int nHeight(rPattern.mnHeight);
int nWidth(rPattern.mnWidth ? rPattern.mnWidth * GetAverageWidthFactor() : nHeight);
return nWidth != nHeight;
......
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