vcl/win/gdi/winlayout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a83dee1310c6fd7f7e2b62b3b2640d97a8d0270e Author: Caolán McNamara <[email protected]> AuthorDate: Tue Aug 21 08:50:02 2018 +0100 Commit: Caolán McNamara <[email protected]> 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 <[email protected]> Tested-by: Caolán McNamara <[email protected]> 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; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
