[Libreoffice-commits] core.git: vcl/unx
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Aug 21 10:19:30 UTC 2018
vcl/unx/generic/gdi/cairotextrender.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0776ad6c2eaca2e4e7f254e27c2cf8985444744e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Aug 20 14:21:27 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Aug 21 12:19:08 2018 +0200
only need FontSelectPatternAttributes here
Change-Id: I3e7595a952c7e95c82091cc483f13a0e96c13532
Reviewed-on: https://gerrit.libreoffice.org/59370
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/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx
index 799a0cbb4630..4711f7084ab9 100644
--- a/vcl/unx/generic/gdi/cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/cairotextrender.cxx
@@ -198,7 +198,7 @@ void CairoTextRender::DrawTextLayout(const GenericSalLayout& rLayout, const SalG
if (cairo_glyphs.empty())
return;
- const FontSelectPattern& rFSD = rInstance.GetFontSelectPattern();
+ const FontSelectPatternAttributes& rFSD = rInstance.GetFontSelectPattern();
int nHeight = rFSD.mnHeight;
int nWidth = rFSD.mnWidth ? rFSD.mnWidth : nHeight;
if (nWidth == 0 || nHeight == 0)
More information about the Libreoffice-commits
mailing list