[Libreoffice-commits] core.git: vcl/win
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Aug 21 12:25:39 UTC 2018
vcl/win/gdi/winlayout.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a83dee1310c6fd7f7e2b62b3b2640d97a8d0270e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 21 08:50:02 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Aug 21 14:25:17 2018 +0200
only need FontSelectPatternAttributes here
Change-Id: I101ebf470e3635815a445ef761afc62e9d4c70f0
Reviewed-on: https://gerrit.libreoffice.org/59383
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index 3800fcd9adc3..3411b54c8652 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -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;
More information about the Libreoffice-commits
mailing list